Garbage/Tests/SimpleConf/CMakeLists.txt

31 lines
583 B
Text
Raw Normal View History

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
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
)