| | |
| | | |
| | | set(PROTO_PATH ${PROJECT_SOURCE_DIR}/../../protobuf) |
| | | |
| | | if(${ARCH} MATCHES "aarch64") |
| | | set(PROTO_PATH ${PROJECT_SOURCE_DIR}/../../protobuf-aarch) |
| | | endif() |
| | | |
| | | foreach(file ${proto_files}) |
| | | message(${file}) |
| | | message(${MESSAGE_DIR}) |
| | | |
| | | get_filename_component(FIL_WE ${file} NAME_WE) |
| | | # message(${FIL_WE}) |
| | | |
| | |
| | | |
| | | add_compile_options("-std=c++11") |
| | | add_library(${Target} STATIC ${MESSAGE_SRC}) |
| | | target_link_libraries(${Target} ${PROTO_PATH}/lib/libprotobuf-lite.a) |
| | | target_link_libraries(${Target} ${PROTO_PATH}/lib/libprotobuf-lite.a) |