cmaking-moves/test/CMakeLists.txt
2025-12-23 11:06:42 -10:00

14 lines
235 B
CMake

add_executable(unittest
${CMAKE_CURRENT_LIST_DIR}/TestShape.cpp
)
message("${CMAKE_CURRENT_LIST_DIR}/TestShape.cpp")
target_link_libraries(unittest PUBLIC
Shapes
gtest_main
)
include(GoogleTest)
gtest_discover_tests(unittest)