Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-jsoncpp
jsoncpp-1.9.5-external-jsontestrunner.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jsoncpp-1.9.5-external-jsontestrunner.patch of Package mingw32-jsoncpp
diff -ur jsoncpp-1.9.5.orig/meson.build jsoncpp-1.9.5/meson.build --- jsoncpp-1.9.5.orig/meson.build 2021-11-03 18:53:28.000000000 +0100 +++ jsoncpp-1.9.5/meson.build 2023-01-31 17:16:20.343464299 +0100 @@ -75,27 +75,34 @@ python = import('python').find_installation() -jsoncpp_test = executable( - 'jsoncpp_test', files([ - 'src/test_lib_json/jsontest.cpp', - 'src/test_lib_json/main.cpp', - 'src/test_lib_json/fuzz.cpp', - ]), - include_directories : jsoncpp_include_directories, - link_with : jsoncpp_lib, - install : false, - cpp_args: dll_import_flag) -test( - 'unittest_jsoncpp_test', - jsoncpp_test) +jsoncpp_test = get_option('jsoncpp_test') +if jsoncpp_test == '' + jsoncpp_test = executable( + 'jsoncpp_test', files([ + 'src/test_lib_json/jsontest.cpp', + 'src/test_lib_json/main.cpp', + 'src/test_lib_json/fuzz.cpp', + ]), + include_directories : jsoncpp_include_directories, + link_with : jsoncpp_lib, + install : false, + cpp_args: dll_import_flag) + test( + 'unittest_jsoncpp_test', + jsoncpp_test) +endif + +jsontestrunner = get_option('jsontestrunner') +if jsontestrunner == '' + jsontestrunner = executable( + 'jsontestrunner', + 'src/jsontestrunner/main.cpp', + include_directories : jsoncpp_include_directories, + link_with : jsoncpp_lib, + install : false, + cpp_args: dll_import_flag) +endif -jsontestrunner = executable( - 'jsontestrunner', - 'src/jsontestrunner/main.cpp', - include_directories : jsoncpp_include_directories, - link_with : jsoncpp_lib, - install : false, - cpp_args: dll_import_flag) test( 'unittest_jsontestrunner', python, diff -ur jsoncpp-1.9.5.orig/meson_options.txt jsoncpp-1.9.5/meson_options.txt --- jsoncpp-1.9.5.orig/meson_options.txt 2021-11-03 18:53:28.000000000 +0100 +++ jsoncpp-1.9.5/meson_options.txt 2023-01-31 17:14:32.495886695 +0100 @@ -3,3 +3,13 @@ type : 'boolean', value : true, description : 'Enable building tests') +option( + 'jsontestrunner', + type : 'string', + value : '', + description : 'Use external json test runner executable') +option( + 'jsoncpp_test', + type : 'string', + value : '', + description : 'Use external json test cpp executable') Nur in jsoncpp-1.9.5: .meson_options.txt.kate-swp.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor