mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 19:44:11 +00:00
[C++] Remove --gen-compare from default parameters for flatc in CMakeLists
This commit is contained in:
@@ -315,7 +315,7 @@ function(compile_flatbuffers_schema_to_cpp_opt SRC_FBS OPT)
|
|||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${GEN_HEADER}
|
OUTPUT ${GEN_HEADER}
|
||||||
COMMAND "${FLATBUFFERS_FLATC_EXECUTABLE}" -c --gen-mutable
|
COMMAND "${FLATBUFFERS_FLATC_EXECUTABLE}" -c --gen-mutable
|
||||||
--gen-object-api --gen-compare -o "${SRC_FBS_DIR}"
|
--gen-object-api -o "${SRC_FBS_DIR}"
|
||||||
--cpp-ptr-type flatbuffers::unique_ptr # Used to test with C++98 STLs
|
--cpp-ptr-type flatbuffers::unique_ptr # Used to test with C++98 STLs
|
||||||
--reflect-names ${OPT}
|
--reflect-names ${OPT}
|
||||||
-I "${CMAKE_CURRENT_SOURCE_DIR}/tests/include_test"
|
-I "${CMAKE_CURRENT_SOURCE_DIR}/tests/include_test"
|
||||||
|
|||||||
Reference in New Issue
Block a user