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
Supporting '-skey=value' #11463
Comments
Seems like a reasonable request. That duplication feature of cmake seem pretty crazy/risky. |
Thanks! Just to be clear, because I forgot to explicitly say it at first, adding support for the abbreviated version would allow these options to be used normally, like this: # Doesn't reduce
target_compile_options(example PRIVATE -skey1=val -skey2=val) Internally, CMake uses If I had to guess, they decided to document the behavior instead of break backwards compatibility by changing it. |
I am also running into this issue. Regarding CMake, duplicate arguments can be handled with the I am also running into microsoft/vscode-cmake-tools#1350, which is probably just a bug in CMake Tools since it also occurs when using the |
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
i.e. without a space between the "-s" and option name. See: emscripten-core/emscripten#11463 This is supported since Emscripten 1.39.19, see: emscripten-core/emscripten@f45bea2
There's an issue happening when
em++
is run with CMake, that some flags get reduced using the-s
option, due to preexisting CMake behavior. For example:This is documented in the 3.12.4 and up, here. The working around is to use the
SHELL
syntax, but it causes extra verbosity.I'd like to advocate supporting arguments like this:
I also believe this is related to #5852, which never got resolved.
The text was updated successfully, but these errors were encountered: