You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
Note that the .json file contains -D PROJECT_NAME=\"myproject\"
Create a project using the .json file and index it. Note that PROJECT_NAME is not a string literal when the project is indexed.
The existing \ causes the quotes to be preserved in the json, but the quotes don't make their way to clang; probably this is because bash or some other shell is interpreting them.
If I hand-modify the json to contain -D PROJECT_NAME=\\\\"myproject\\\\" then all works as expected.
-D PROJECT_NAME=\"myproject\"The existing
\causes the quotes to be preserved in the json, but the quotes don't make their way to clang; probably this is because bash or some other shell is interpreting them.If I hand-modify the json to contain
-D PROJECT_NAME=\\\\"myproject\\\\"then all works as expected.