-
Notifications
You must be signed in to change notification settings - Fork 474
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
The buildKitTargetOs is unknown if a kit is defined with toolchainFile only #4274
Comments
Hi @RichardLuo0, thanks for reporting issue here! Additionally, if you can provide a video, repro steps, a demo repro project in a zip file would be great, this will help us investigate this further. |
I mean the ${buildKitTargetOs} in https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/cmake-settings.md#variable-substitution If you set "cmake.buildDirectory": "${workspaceFolder}/build-${buildKitTargetOs}" in settings, it is substituted by |
@RichardLuo0, thanks for your reply! If you can provide a demo repro project in a zip file would be great, this will help us investigate this further. |
@Amy-Li03 |
@RichardLuo0 thanks for your info! @gcampbell-msft , could you please confirm whether this is by design? |
@Amy-Li03 @RichardLuo0 Based on your investigation, it seems that this is by design. However, it's a feature that hasn't had any attention in a long time, so it's understandable that there are questions around it. Due to our focus on presets, this is a feature request that may not get highly prioritized by us, but we'd be happy to take OSS contributions! |
Brief Issue Summary
I have a kit like this;
The ${buildKitTargetOs} becomes unknown. The compiler is defined in Emscripten.cmake
CMake Tools Diagnostics
Debug Log
Additional Information
No response
The text was updated successfully, but these errors were encountered: