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

CMake options (via -O) chokes on quotes in input #28

Open
cbielow opened this issue Feb 16, 2023 · 0 comments
Open

CMake options (via -O) chokes on quotes in input #28

cbielow opened this issue Feb 16, 2023 · 0 comments

Comments

@cbielow
Copy link

cbielow commented Feb 16, 2023

I used
softwipe -C -M -O softwipe_cmake.cmd ../my_repo
and ran into errors when Softwipe ran CMake with my custom arguments from softwipe_cmake.cmd.
The reason was that softwipe_cmake.cmd contained a -DSOME_PATH="/path/here", which had quotes in it.
When running this on the command line, it works fine. When running it via softwipe, the variable SOME_PATH is not defined in CMakeCache.txt.
So something goes wrong when parsing the arguments in the -O flag (which is not documented in the readme :/)

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

No branches or pull requests

1 participant