Skip to content

Commit 7cfb491

Browse files
committed
BUILD: add flag for building protoc plug-in
1 parent 0b43778 commit 7cfb491

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,20 @@ option(BUILD_TESTING
111111
option(SKIP_SSL_TESTS
112112
"Skip the SSL tests"
113113
OFF)
114-
# The following test requires installing protobuf-compiler python3-protobuf
115-
# libprotobuf-devel (or protobuf-devel)
114+
# TEST_PROTOBUFS_PROTOC runs optional tests on packages/protobufs that
115+
# test the plugin for protoc. The test requires installing packages
116+
# protobuf-compiler python3-protobuf libprotobuf-devel (or
117+
# protobuf-devel):
116118
option(TEST_PROTOBUFS_PROTOC
117119
"Run protobuf tests that require protoc, etc."
118120
OFF)
121+
# BUILD_PROTOBUFS_PROTOC is only needed if some new feature has been
122+
# added to the protobuf language. The details are given in
123+
# packages/protobufs/README.md and
124+
# packages/protobufs/bootstrap/README.md.
125+
option(BUILD_PROTOBUFS_PROTOC
126+
"Build protobuf with latest protoc"
127+
OFF)
119128
option(BUILD_SWIPL_LD
120129
"Create the swipl-ld utility"
121130
ON)

0 commit comments

Comments
 (0)