27 lines
472 B
CMake
27 lines
472 B
CMake
|
|
# Include the headers generated by the protobuffers
|
|
include_directories(${PROTOBUFFER_HDRS_DIR}/)
|
|
|
|
file(
|
|
GLOB CLIENT_SRCS
|
|
"*.cpp"
|
|
)
|
|
|
|
# Add the main executable
|
|
add_executable(
|
|
${PROJECT_NAME}
|
|
${CLIENT_SRCS}
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
${PROTOBUFFER_LIB}
|
|
absl::check
|
|
absl::flags
|
|
absl::flags_parse
|
|
absl::log
|
|
${_GRPC_GRPC}
|
|
${_GRPC_GRPCPP}
|
|
${_GRPC_GRPCPP_REFLECTION}
|
|
${_PROTOBUF_LIBPROTOBUF}
|
|
${_GRPC_GPR}
|
|
)
|