-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
36 lines (30 loc) · 957 Bytes
/
CMakeLists.txt
File metadata and controls
36 lines (30 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Required for Apple Silicon support.
cmake_minimum_required(VERSION 3.19)
project(
LaunchDarklyCPPServerSDKTestHarness
VERSION 0.1
DESCRIPTION "LaunchDarkly CPP Server-side SDK Test Harness"
LANGUAGES CXX
)
include(${CMAKE_FILES}/json.cmake)
add_executable(server-tests
src/main.cpp
src/server.cpp
src/session.cpp
src/entity_manager.cpp
src/client_entity.cpp
src/contract_test_hook.cpp
)
target_link_libraries(server-tests PRIVATE
launchdarkly::server
launchdarkly::internal
foxy
nlohmann_json::nlohmann_json
Boost::coroutine
contract-test-data-model
)
if (LD_BUILD_REDIS_SUPPORT)
target_link_libraries(server-tests PRIVATE launchdarkly::server_redis_source)
target_compile_definitions(server-tests PRIVATE LD_REDIS_SUPPORT_ENABLED)
endif ()
target_include_directories(server-tests PUBLIC include)