2025-04-15 19:07:31 +00:00
|
|
|
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
|
|
|
|
2025-04-16 07:40:50 -04:00
|
|
|
add_executable(${NAME}_tests
|
2025-04-15 17:48:33 -04:00
|
|
|
vec_test.cpp
|
2025-04-15 19:07:31 +00:00
|
|
|
)
|
|
|
|
|
2025-04-16 07:40:50 -04: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
|
|
|
|
2025-04-16 07:40:50 -04:00
|
|
|
add_test(NAME Vec3Tests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/${NAME}_tests)
|