File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,11 +111,26 @@ option(BUILD_TESTING
111111option (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)
116- option (TEST_PROTOBUFS_PROTOC
117- "Run protobuf tests that require protoc, etc."
114+ # BUILD_PROTOBUFS_PROTOC is only needed if some new feature has been
115+ # added to the protobuf language. The details are given in
116+ # packages/protobufs/README.md and
117+ # packages/protobufs/bootstrap/README.md.
118+ option (BUILD_PROTOBUFS_PROTOC
119+ "Build protobuf with latest protoc"
118120 OFF )
121+ # TEST_PROTOBUFS_PROTOC runs optional tests on packages/protobufs that
122+ # test the plugin for protoc. The test requires installing packages
123+ # protobuf-compiler python3-protobuf libprotobuf-devel (or
124+ # protobuf-devel):
125+ if (BUILD_PROTOBUFS_PROTOC)
126+ option (TEST_PROTOBUFS_PROTOC
127+ "Run protobuf tests that require protoc, etc."
128+ ON )
129+ else ()
130+ option (TEST_PROTOBUFS_PROTOC
131+ "Run protobuf tests that require protoc, etc."
132+ OFF )
133+ endif ()
119134option (BUILD_SWIPL_LD
120135 "Create the swipl-ld utility"
121136 ON )
You can’t perform that action at this time.
0 commit comments