File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -9,25 +9,12 @@ FetchContent_Declare(
99)
1010FetchContent_MakeAvailable(Catch2)
1111
12- set (ALL_TESTNAMES scope_success scope_exit scope_fail unique_resource)
12+ set (ALL_TESTNAMES scope_success scope_exit scope_fail unique_resource module )
1313
1414message ("Tests to be built: ${ALL_TESTNAMES} " )
1515
1616include (Catch)
1717
18- add_executable (test .module)
19- target_sources (test .module PRIVATE module.test .cpp)
20- target_link_libraries (test .module PRIVATE beman::scope)
21- add_test (NAME test .module COMMAND test .module)
22-
23- # todo: gc++15 module and catch incompatiblity?
24- # target_link_libraries(
25- # test.module
26- # PUBLIC FILE_SET TYPE CXX_MODULES include/beman/scope/beman.scope.cppm
27- # PRIVATE Catch2::Catch2WithMain beman::scope
28- # )
29- # catch_discover_tests(test.module)
30-
3118foreach (testname ${ALL_TESTNAMES} )
3219 add_executable (test .${testname} )
3320 target_sources (test .${testname} PRIVATE ${testname} .test .cpp)
You can’t perform that action at this time.
0 commit comments