Implement a simple config file parser
This commit is contained in:
parent
7744ac69f4
commit
a04dd647f6
20 changed files with 601 additions and 0 deletions
29
Tests/SimpleConf/CMakeLists.txt
Normal file
29
Tests/SimpleConf/CMakeLists.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
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
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue