-
Notifications
You must be signed in to change notification settings - Fork 5
Support -DFOO and -DFOO=BAR command-line arguments #17
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
Labels
enhancement
New feature or request
Comments
This is a cxxopts bug/misfeature. See: jarro2783/cxxopts#357. |
eyalroz
added a commit
that referenced
this issue
Aug 14, 2022
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
eyalroz
added a commit
that referenced
this issue
Aug 14, 2022
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
eyalroz
added a commit
that referenced
this issue
Aug 15, 2022
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
eyalroz
added a commit
that referenced
this issue
Aug 15, 2022
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
eyalroz
added a commit
that referenced
this issue
Aug 30, 2022
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
eyalroz
added a commit
that referenced
this issue
Jan 15, 2023
… without a space after the `-D` * Using a newer version of `cxxopts.hpp`, taken from [here](jarro2783/cxxopts#360), which resolves the `-DFOO=bar` issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently support defining macros using
-D FOO
(definingFOO
as 1) and-D FOO=bar
(definingFOO
asbar
). We should support these same options without the space, i.e.-DFOO
and-DFOO=bar
, like gcc and clang.The text was updated successfully, but these errors were encountered: