Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3280526
D4566.id14723.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4566.id14723.diff
View Options
diff --git a/services/tunnelbroker/CMakeLists.txt b/services/tunnelbroker/CMakeLists.txt
--- a/services/tunnelbroker/CMakeLists.txt
+++ b/services/tunnelbroker/CMakeLists.txt
@@ -48,12 +48,12 @@
set(GENERATED_CODE_DIR "${GENERATED_BASE_DIR}/_generated")
file(MAKE_DIRECTORY ${GENERATED_CODE_DIR})
-set(proto_srcs "${GENERATED_CODE_DIR}/tunnelbroker.pb.cc")
-set(proto_hdrs "${GENERATED_CODE_DIR}/tunnelbroker.pb.h")
-set(grpc_srcs "${GENERATED_CODE_DIR}/tunnelbroker.grpc.pb.cc")
-set(grpc_hdrs "${GENERATED_CODE_DIR}/tunnelbroker.grpc.pb.h")
+set(_proto_srcs "${GENERATED_CODE_DIR}/tunnelbroker.pb.cc")
+set(_proto_hdrs "${GENERATED_CODE_DIR}/tunnelbroker.pb.h")
+set(_grpc_srcs "${GENERATED_CODE_DIR}/tunnelbroker.grpc.pb.cc")
+set(_grpc_hdrs "${GENERATED_CODE_DIR}/tunnelbroker.grpc.pb.h")
add_custom_command(
- OUTPUT "${proto_srcs}" "${proto_hdrs}" "${grpc_srcs}" "${grpc_hdrs}"
+ OUTPUT "${_proto_srcs}" "${_proto_hdrs}" "${_grpc_srcs}" "${_grpc_hdrs}"
COMMAND ${_PROTOBUF_PROTOC}
ARGS --grpc_out "${GENERATED_CODE_DIR}"
--cpp_out "${GENERATED_CODE_DIR}"
@@ -61,11 +61,14 @@
--plugin=protoc-gen-grpc="${_GRPC_CPP_PLUGIN_EXECUTABLE}"
"${proto}"
DEPENDS "${proto}"
+ COMMENT "Generate protobuf files"
)
file(GLOB_RECURSE SOURCE_CODE "./src/*.cpp")
-set(GENERATED_CODE ${proto_srcs} ${proto_hdrs} ${grpc_srcs} ${grpc_hdrs})
-file(GLOB DOUBLE_CONVERSION_SOURCES "./lib/double-conversion/double-conversion/*.cc")
+set(GENERATED_CODE ${_proto_srcs} ${_proto_hdrs} ${_grpc_srcs} ${_grpc_hdrs})
+file(GLOB DOUBLE_CONVERSION_SOURCES
+ "./lib/double-conversion/double-conversion/*.cc"
+)
include_directories(
./src
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 9:12 AM (19 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2521172
Default Alt Text
D4566.id14723.diff (1 KB)
Attached To
Mode
D4566: [Chore] Lint services/tunnelbroker/CMakeLists.txt
Attached
Detach File
Event Timeline
Log In to Comment