14 lines
235 B
CMake
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)
|