mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
25 lines
542 B
CMake
25 lines
542 B
CMake
cmake_minimum_required (VERSION 3.5)
|
|
|
|
add_executable (Test
|
|
command_line.cpp
|
|
encrypt.cpp
|
|
ip_utils.cpp
|
|
main.cpp
|
|
onion_requests.cpp
|
|
rate_limiter.cpp
|
|
serialization.cpp
|
|
signature.cpp
|
|
storage.cpp
|
|
service_node.cpp
|
|
)
|
|
|
|
target_link_libraries(Test PRIVATE common storage utils crypto httpserver_lib)
|
|
target_include_directories(Test PRIVATE ../httpserver)
|
|
|
|
# boost
|
|
if(NOT BUILD_STATIC_DEPS)
|
|
find_package(Boost REQUIRED unit_test_framework)
|
|
endif()
|
|
|
|
target_link_libraries(Test PRIVATE Boost::unit_test_framework)
|