Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Documentation for cxxopt #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Documentation for cxxopt #59

wants to merge 1 commit into from

Conversation

LukeCz
Copy link

@LukeCz LukeCz commented Feb 27, 2024

Added documentation and example for passing --cxxopt.

Added documentation and example for passing --cxxopt.
@erenon
Copy link
Owner

erenon commented Feb 27, 2024

Hi, thanks for the contribution. It appears a different heading got pasted into the description body. Also, I do not understand the reference to --, it doesn't appear in the code example.

@LukeCz
Copy link
Author

LukeCz commented Feb 28, 2024

Hi, there reference to '--' is this:

.
It is used to separate clang-tidy flags from clang flags (https://clang.llvm.org/extra/clang-tidy/#using-clang-tidy). It took me a while reading Bazel (I'm not a Bazel expert) code to figure out how to pass compiler flag from bazelrc and this is why I added it to the guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants