Files
DRAMSys/tests/tests_configuration/CMakeLists.txt
Derek Christ ca9ef16d0d Remove unnecessary project() calls
project() should only be called if the subdirectory, in fact, can be
built standalone.
2024-12-20 17:40:15 +01:00

24 lines
704 B
CMake

###############################################
### tests_configuration ###
###############################################
add_executable(tests_configuration
test_configuration.cpp
test_json.cpp
)
set_target_properties(tests_configuration PROPERTIES FOLDER tests/configuration)
target_link_libraries(tests_configuration PRIVATE
DRAMSys::config
gtest_main
)
gtest_discover_tests(tests_configuration
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
add_executable(jsonconverter ${CMAKE_CURRENT_SOURCE_DIR}/jsonconverter.cpp)
target_link_libraries(jsonconverter PRIVATE DRAMSys::config)
set_target_properties(jsonconverter PROPERTIES FOLDER tests/configuration)