-add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/kvstore.pb.cc
- ${CMAKE_CURRENT_BINARY_DIR}/kvstore.pb.h
- COMMAND protoc --cpp_out=${CMAKE_CURRENT_BINARY_DIR}
- --proto_path=${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/kvstore.proto
- DEPENDS kvstore.proto)
-
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_library(protobufrpc protobufrpc.cc socket_pool.cc workqueue.cc)
kvservice
boost_thread-mt boost_regex-mt boost_system-mt
boost_program_options-mt db protobuf protobufrpc pthread)
+
+add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/kvstore.pb.cc
+ ${CMAKE_CURRENT_BINARY_DIR}/kvstore.pb.h
+ COMMAND protoc --cpp_out=${CMAKE_CURRENT_BINARY_DIR}
+ --proto_path=${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/kvstore.proto
+ DEPENDS kvstore.proto)
+