2017-12-28 11:43:15 -07:00
|
|
|
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
|
|
|
|
2025-04-16 23:06:50 -04:00
|
|
|
add_executable(${NAME}_tests
|
2025-04-16 14:01:40 -04:00
|
|
|
test_potential.cpp
|
2017-12-28 11:43:15 -07:00
|
|
|
)
|
|
|
|
|
2025-04-16 23:06:50 -04:00
|
|
|
target_link_libraries(${NAME}_tests gtest gtest_main)
|
2025-04-17 16:07:26 -04:00
|
|
|
target_link_libraries(${NAME}_tests ${CMAKE_PROJECT_NAME}_cuda_lib)
|
2025-04-16 23:06:50 -04:00
|
|
|
add_test(NAME ${NAME}Tests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/${NAME}_tests)
|