Page MenuHomePhabricator

D4757.id15377.diff
No OneTemporary

D4757.id15377.diff

diff --git a/services/tunnelbroker/CMakeLists.txt b/services/tunnelbroker/CMakeLists.txt
--- a/services/tunnelbroker/CMakeLists.txt
+++ b/services/tunnelbroker/CMakeLists.txt
@@ -40,6 +40,12 @@
EXCLUDE_FROM_ALL
)
+# Shared services code
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../lib/src
+ ${CMAKE_CURRENT_BINARY_DIR}/common
+ EXCLUDE_FROM_ALL
+)
+
set(BUILD_TESTING OFF CACHE BOOL "Turn off tests" FORCE)
set(WITH_GFLAGS OFF CACHE BOOL "Turn off gflags" FORCE)
@@ -58,7 +64,6 @@
set(RUST_LIBS "rust-notifications")
file(GLOB_RECURSE SOURCE_CODE "./src/*.cpp")
-file(GLOB COMMON_CODE "${CMAKE_CURRENT_SOURCE_DIR}/../lib/src/*.cpp")
set(
SOURCE_CODE
@@ -66,13 +71,14 @@
${DOUBLE_CONVERSION_SOURCES}
${GENERATED_CODE}
${SOURCE_CODE}
- ${COMMON_CODE}
)
set(
LIBS
+ comm-services-common
comm-tunnelbroker-grpc
+
gRPC::grpc++_reflection
gRPC::grpc++
${AWSSDK_LINK_LIBRARIES}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 9:03 PM (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2586281
Default Alt Text
D4757.id15377.diff (931 B)

Event Timeline