action-cmake-build
action-cmake-build copied to clipboard
Spaces in configure-options seem to be un-escapable.
I need to have a configure-option
with a space in it. Specifically, I need to pass something -DXXXX_ROOT=C:/Program Files/XXXX
. And I'm actually getting the pathname from an environment variable (with ${{ env.XXXX_DIR }}
).
I have tried putting quotes in all sorts of places, but nothing works.
Then I went to the source of action-cmake-build, and saw that in cmake_runner.ts
line 73 you're doing a hard split on spaces:
...this._options.extraArgs.extraBuildArgs.split(' ')
I get the impression that no amount of quoting or backslash-escaping or backslash-escaped-quotes that I can think of will get around this...
I have the same issue