vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

Underscore in config for cmakePath seems to immediately terminate the string.

Open tractorbeam0 opened this issue 2 years ago • 2 comments

Brief Issue Summary

On a linux system, I need to build for Windows. I am using the MinGW toolchain, and that requires me to use a CMake executable built specifically for it. The CMake executable happens to have the wonderful path "/usr/bin/x86_64-w64-mingw32-cmake". The configure UI seems to verify the path fine, however upon trying to configure the project I get the error Bad CMake executable: "x86_"

Of course, I have placed a symlink in the .vscode folder in my project dir, and just linked to there, but this is still a pretty frustrating issue.

CMake Tools Diagnostics

N/A, CMake doesn't run.

Debug Log

N/A, CMake doesn't run.

Additional Information

No response

tractorbeam0 avatar Oct 25 '23 22:10 tractorbeam0

Update: I only just now realized that the MinGW cmake executable is a wrapper script that just runs regular cmake with a bunch of new defines, but unless there's something else I'm very obviously missing, the problem still stands. It seems like it's unable to parse underscores.

tractorbeam0 avatar Oct 26 '23 00:10 tractorbeam0

@Gavator234 Thanks for notifying us of this issue. We will add it to the backlog and investigate it at our soonest bandwidth.

gcampbell-msft avatar Oct 27 '23 13:10 gcampbell-msft