-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Argument parsing is broken on Windows #7
Comments
Thank you for your report. I'll investigate, but it might take a while. |
Running your tests was quite challenging for me, since they require Visual Studio for nmake and the compiler. I updated the patch to use the
and
The pre-release binary is available from: Please try it for your projects, and let me know if it if functional. Please note that the fix brings back the same functionality as the original cmake for running |
Thanks for looking into it. I've tested the experimental release linked above.
I have no idea why that is and I don't have any more time to spend on debugging it, sorry -- I've moved to using a devcontainer instead of xpacks for a standard build environment. I'm curious -- why do you need to patch the cmake source at all? Upstream cmake works fine on both of these examples. |
Upstream cmake is able to execute only |
I cannot reproduce this:
|
Starting with September 2024, v3.28, I removed the patch to start processes via a sub-shell. This should solve this issue. Can you confirm this? |
I suspect that this is because of the patches xpack applies to cmake to run processes inside
cmd
, which alters the way arguments are parsed. Whatever the reason, cmake-xpack is broken on Windows and there is no workaround.I have provided two examples of the problem in the following repo: https://github.com/sijk/cmake-xpack-broken-example
The text was updated successfully, but these errors were encountered: