stuff-from-scratch/test/geometry/CMakeLists.txt

13 lines
428 B
CMake
Raw Normal View History

2023-01-19 14:25:58 +00:00
set(MODULE_NAME geometry)
2023-01-16 07:40:43 +00:00
2023-01-19 14:25:58 +00:00
list(APPEND UNIT_TEST_FILES
TestGeometryCollection.cpp
TestGrid.cpp
TestPath.cpp
)
2023-01-16 07:40:43 +00:00
2023-01-19 14:25:58 +00:00
set(UNIT_TEST_TARGET_NAME ${MODULE_NAME}_unit_tests)
add_executable(${UNIT_TEST_TARGET_NAME} ${CMAKE_SOURCE_DIR}/test/test_runner.cpp ${UNIT_TEST_FILES})
target_link_libraries(${UNIT_TEST_TARGET_NAME} PUBLIC test_utils geometry)
set_property(TARGET ${UNIT_TEST_TARGET_NAME} PROPERTY FOLDER test/${MODULE_NAME})