cmaking-moves/test/CMakeLists.txt

12 lines
183 B
CMake

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