Tune protobuf source generation
This commit is contained in:
parent
165cad7dab
commit
70666da79b
1 changed files with 4 additions and 7 deletions
|
|
@ -15,16 +15,13 @@ include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/external/android-emugl/host/include
|
${CMAKE_SOURCE_DIR}/external/android-emugl/host/include
|
||||||
)
|
)
|
||||||
|
|
||||||
set(PROTOBUF_SOURCES
|
protobuf_generate_cpp(
|
||||||
|
GENERATED_PROTOBUF_BRIDGE_SRCS GENERATED_PROTOBUF_BRIDGE_HDRS
|
||||||
anbox/protobuf/anbox_bridge.proto)
|
anbox/protobuf/anbox_bridge.proto)
|
||||||
|
|
||||||
protobuf_generate_cpp(
|
|
||||||
GENERATED_PROTOBUF_SRCS GENERATED_PROTOBUF_HDRS
|
|
||||||
${PROTOBUF_SOURCES})
|
|
||||||
|
|
||||||
add_library(anbox-protobuf
|
add_library(anbox-protobuf
|
||||||
${GENERATED_PROTOBUF_SRCS}
|
${GENERATED_PROTOBUF_BRIDGE_SRCS}
|
||||||
${GENERATED_PROTOBUF_HDRS}
|
${GENERATED_PROTOBUF_BRIDGE_HDRS}
|
||||||
anbox/protobuf/google_protobuf_guard.cpp)
|
anbox/protobuf/google_protobuf_guard.cpp)
|
||||||
target_link_libraries(anbox-protobuf
|
target_link_libraries(anbox-protobuf
|
||||||
${PROTOBUF_LITE_LIBRARIES})
|
${PROTOBUF_LITE_LIBRARIES})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue