blob: 40d106e2e88f6c8358620c2a447f7709c6766f9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# This source code is released into the public domain.
add_library(nihil.flagset STATIC)
target_link_libraries(nihil.flagset PRIVATE nihil.std)
target_sources(nihil.flagset
PUBLIC FILE_SET modules TYPE CXX_MODULES FILES
flagset.ccm
)
if(NIHIL_TESTS)
enable_testing()
add_executable(nihil.flagset.test test.cc)
target_link_libraries(nihil.flagset.test PRIVATE
nihil.flagset
Catch2::Catch2WithMain
)
include(CTest)
include(Catch)
catch_discover_tests(nihil.flagset.test)
endif()
|