11 lines
308 B
CMake
11 lines
308 B
CMake
project(daggyd_tests)
|
|
|
|
add_executable(${PROJECT_NAME} main.cpp
|
|
# unit tests
|
|
unit_server.cpp
|
|
unit_jwt_auth.cpp
|
|
)
|
|
target_link_libraries(${PROJECT_NAME} libdaggyd libdaggy stdc++fs Catch2::Catch2 curl)
|
|
|
|
add_test(${PROJECT_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME})
|