2025-06-09 01:41:33 +02:00
|
|
|
add_executable(TestSimpleConf)
|
|
|
|
|
|
|
|
target_compile_features(TestSimpleConf
|
|
|
|
PRIVATE
|
|
|
|
cxx_std_20
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(TestSimpleConf
|
|
|
|
PRIVATE
|
|
|
|
Garbage
|
|
|
|
Catch2::Catch2WithMain
|
|
|
|
)
|
|
|
|
|
|
|
|
target_sources(TestSimpleConf
|
|
|
|
PRIVATE
|
|
|
|
Comments.cpp
|
|
|
|
Conversions.cpp
|
|
|
|
EmptyConfigs.cpp
|
2025-06-09 01:41:53 +02:00
|
|
|
Files.cpp
|
2025-06-09 01:41:33 +02:00
|
|
|
Optionality.cpp
|
|
|
|
Parsing.cpp
|
|
|
|
WhitespaceBehaviour.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_command(
|
|
|
|
TARGET TestSimpleConf POST_BUILD
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/TestConfigs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/TestConfigs
|
|
|
|
)
|