cudaCAC/tests/unit_tests/CMakeLists.txt

10 lines
334 B
Text
Raw Normal View History

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