Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove --gen-name-strings flag from cmake command for generating union_vector_generated.h #7684

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

le-michael
Copy link
Collaborator

@le-michael le-michael commented Dec 1, 2022

Running cmake . && make on a clean branch results in changes to tests/union_vector/union_vector_generated.h.

The generate_code.py script uses different flags than CMake when generating the C++ output for union_vector.fbs. This change should result in cmake . && make and generate_code.py generating the same output.

@github-actions github-actions bot added the c++ label Dec 1, 2022
@le-michael le-michael marked this pull request as draft December 1, 2022 04:22
@github-actions github-actions bot removed the c++ label Dec 1, 2022
@le-michael le-michael changed the title Regenerate tests/union_vector/union_vector_generated.h Remove --gen-name-strings flag from cmake command for generating union_vector.fbs Dec 1, 2022
@le-michael le-michael changed the title Remove --gen-name-strings flag from cmake command for generating union_vector.fbs Remove --gen-name-strings flag from cmake command for generating union_vector_generated.h Dec 1, 2022
@le-michael le-michael marked this pull request as ready for review December 1, 2022 04:52
@google google deleted a comment from Yosym12 Dec 1, 2022
@dbaileychess dbaileychess self-requested a review December 1, 2022 04:56
@dbaileychess
Copy link
Collaborator

It would be nice to unify the two at some point. I tried this in the past, but had issues forcing python on users.

@dbaileychess dbaileychess merged commit 00af4e2 into google:master Dec 1, 2022
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Dec 25, 2022
…n_vector_generated.h (google#7684)

* Sync make outputs with master

* Remove --gen-name-string flag from CMAKE
candhyan pushed a commit to mediaz/flatbuffers that referenced this pull request Jan 2, 2023
…n_vector_generated.h (google#7684)

* Sync make outputs with master

* Remove --gen-name-string flag from CMAKE
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…n_vector_generated.h (google#7684)

* Sync make outputs with master

* Remove --gen-name-string flag from CMAKE
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
…n_vector_generated.h (google#7684)

* Sync make outputs with master

* Remove --gen-name-string flag from CMAKE
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants