Vec3/tests/unit_tests/CMakeLists.txt

11 lines
303 B
Text
Raw Normal View History

2025-04-15 19:07:31 +00:00
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
add_executable(${NAME}_tests
2025-04-15 17:48:33 -04:00
vec_test.cpp
2025-04-15 19:07:31 +00:00
)
target_link_libraries(${NAME}_tests gtest gtest_main)
2025-04-16 18:00:55 -04:00
target_link_libraries(${NAME}_tests ${NAME})
2025-04-15 17:48:33 -04:00
add_test(NAME Vec3Tests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/${NAME}_tests)