generated from aselimov/cpp_project_template
Update test file name to reduce collisions
This commit is contained in:
parent
87d5b1ce42
commit
6775d995d7
@ -1,10 +1,10 @@
|
||||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
|
||||
add_executable(Unit_Tests_run
|
||||
add_executable(${NAME}_tests
|
||||
vec_test.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(Unit_Tests_run gtest gtest_main)
|
||||
target_link_libraries(Unit_Tests_run ${NAME})
|
||||
target_link_libraries(${NAME}_tests gtest gtest_main)
|
||||
target_link_libraries(${NAME_tests} ${NAME})
|
||||
|
||||
add_test(NAME Vec3Tests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/Unit_Tests_run)
|
||||
add_test(NAME Vec3Tests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/${NAME}_tests)
|
||||
|
Loading…
x
Reference in New Issue
Block a user