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
xmake fails on Windows when path contains parentheses #119
Comments
From my testing, this happens when using a bash shell on Windows (eg. via Git BASH) when the XTC Tools are installed into the default location This table shows the results of building sw_usb_audio with xcommon_cmake and xcommon.
Summary:
|
This is an issue in Make itself rather than anything we've done with xcommon_cmake. When Make runs, it sets a Makefile variable called If you've written your own Makefile, you probably haven't used This behaviour is not unique to our tools: using GNU Make 4.4.1 with a simple Makefile containing There is an ugly workaround: since |
Seen by a user on xcore.com: https://www.xcore.com/viewtopic.php?p=40452#p40452
I've reproduced this on Windows. Our CI tests use get_tools so we aren't testing from the default Windows install location.
The solution may be to use
cmake_path
in the toolchain file to create a properly escaped path to the tools.The text was updated successfully, but these errors were encountered: