26 lines
718 B
CMake
26 lines
718 B
CMake
###############################################
|
|
### tests_configuration ###
|
|
###############################################
|
|
|
|
project(tests_configuration)
|
|
|
|
add_executable(${PROJECT_NAME}
|
|
test_configuration.cpp
|
|
test_json.cpp
|
|
)
|
|
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER tests/configuration)
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE
|
|
DRAMSys::config
|
|
gtest_main
|
|
)
|
|
|
|
gtest_discover_tests(${PROJECT_NAME}
|
|
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)
|