File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 11enable_testing ()
22
3- add_library (boost_process_v2_test_impl OBJECT test_impl.cpp)
4-
5- if (WIN32 )
6- target_compile_definitions (boost_process_v2_test_impl PUBLIC WIN32_LEAN_AND_MEAN=1)
7- target_link_libraries (boost_process_v2_test_impl Boost::process Boost::unit_test_framework Boost::process Ntdll)
8- else ()
9- target_link_libraries (boost_process_v2_test_impl Boost::process Boost::unit_test_framework Boost::process)
10- endif ()
11-
123function (boost_process_v2_standalone_test name )
13- add_executable (boost_process_v2_${name} ${name} .cpp)
14- target_link_libraries (boost_process_v2_${name} Boost::process Boost::system Boost::filesystem boost_process_v2_test_impl)
4+ add_executable (boost_process_v2_${name} ${name} .cpp test_impl.cpp)
5+ target_link_libraries (boost_process_v2_${name} Boost::process Boost::system Boost::filesystem Boost::unit_test_framework )
6+ if (WIN32 )
7+ target_compile_definitions (boost_process_v2_${name} PUBLIC WIN32_LEAN_AND_MEAN=1)
8+ target_link_libraries (boost_process_v2_${name} PUBLIC Ntdll)
9+ endif ()
1510 add_test (NAME boost_process_v2_${name} COMMAND $<TARGET_FILE:boost_process_v2_${name} > )
1611endfunction ()
1712
You can’t perform that action at this time.
0 commit comments