rublon-ssh/PAM/ssh/tests/CMakeLists.txt
Bartosz Wieczorek dcab16178d init
2023-07-05 11:40:54 +02:00

25 lines
670 B
CMake

enable_testing()
include(FetchContent)
## Project-wide setup
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
# Externally provided libraries
FetchContent_Declare(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG main)
FetchContent_Declare(googlebenchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG main)
FetchContent_MakeAvailable(
googletest
googlebenchmark)
add_executable(rublon-tests utilsTests.cpp rublonTests.cpp core_handler_tests.cpp init_test.cpp)
target_link_libraries(rublon-tests GTest::gmock_main -lssl -lcrypto)