Cmake: Update Proto comment

This commit is contained in:
Corentin Le Molgat
2020-03-04 17:46:34 +01:00
parent 69c7295289
commit 506ebe9679
4 changed files with 4 additions and 4 deletions

View File

@@ -276,7 +276,7 @@ foreach(PROTO_FILE IN LISTS proto_files)
"--cpp_out=${PROJECT_BINARY_DIR}"
${PROTO_FILE}
DEPENDS ${PROTO_FILE} protobuf::protoc
COMMENT "Running C++ protocol buffer compiler on ${PROTO_FILE}"
COMMENT "Generate C++ protocol buffer for ${PROTO_FILE}"
VERBATIM)
list(APPEND PROTO_HDRS ${PROTO_HDR})
list(APPEND PROTO_SRCS ${PROTO_SRC})

View File

@@ -41,7 +41,7 @@ foreach(PROTO_FILE ${proto_dotnet_files})
"--csharp_opt=file_extension=.pb.cs"
${PROTO_FILE}
DEPENDS ${PROTO_FILE} protobuf::protoc
COMMENT "Running C++ protocol buffer compiler on ${PROTO_FILE}"
COMMENT "Generate C# protocol buffer for ${PROTO_FILE}"
VERBATIM)
list(APPEND PROTO_DOTNETS ${PROTO_DOTNET})
endforeach()

View File

@@ -39,7 +39,7 @@ foreach(PROTO_FILE ${proto_java_files})
"--java_out=${PROJECT_BINARY_DIR}/java/com/google/"
${PROTO_FILE}
DEPENDS ${PROTO_FILE} protobuf::protoc
COMMENT "Running C++ protocol buffer compiler on ${PROTO_FILE}"
COMMENT "Generate Java protocol buffer for ${PROTO_FILE}"
VERBATIM)
list(APPEND PROTO_JAVAS ${PROTO_JAVA})
endforeach()

View File

@@ -61,7 +61,7 @@ foreach(PROTO_FILE ${proto_py_files})
"--python_out=${PROJECT_BINARY_DIR}/python"
${PROTO_FILE}
DEPENDS ${PROTO_FILE} protobuf::protoc
COMMENT "Running C++ protocol buffer compiler on ${PROTO_FILE}"
COMMENT "Generate Python protocol buffer for ${PROTO_FILE}"
VERBATIM)
list(APPEND PROTO_PYS ${PROTO_PY})
endforeach()