16 lines
349 B
CMake
16 lines
349 B
CMake
|
|
find_package(Catch2 REQUIRED)
|
|
|
|
add_executable(test_kompute Main.cpp)
|
|
|
|
target_include_directories(
|
|
test_kompute PUBLIC
|
|
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/single_include>
|
|
)
|
|
|
|
target_link_libraries(test_kompute PRIVATE Catch2::Catch2)
|
|
target_link_libraries(test_kompute PRIVATE kompute)
|
|
|
|
add_test(NAME test_kompute COMMAND test_kompute)
|
|
|
|
|