-
Notifications
You must be signed in to change notification settings - Fork 463
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
Existing presets are not shown #1934
Comments
@xisui-MSFT @gugavaro Did we add
|
I have a PR out for this. When it is committed, I will share a link to a build of the extension you can use to verify the fix and unblock your workflow. Thank you for reporting this issue! |
If you download and unzip the cmake-tools VSIX from here: https://github.com/microsoft/vscode-cmake-tools/suites/3078538279/artifacts/70210456 You can install it using the |
Yes. I can confirm, that my |
Just bumped into this exact same issue. I can manage, but... can't wait to get the fix :-). |
@TheJCAB You can get the fix now. Instructions are in my comment above. |
Brief Issue Summary
The plugin does not read existing (and working - tested via cli) presets in CMakePresets.json.
Expected:
From what I read here, klicking on the button "No Configure Preset Selected" should list my presets. It does not. If I add the example preset from CMake doc, it works.
Apparent Behavior:
It wants me to create a new preset. See video.
https://streamable.com/19sk8n
CMake Tools Log
There is an error here:
So the reason is, that I specified a variable for CMAKE_BUILD_TYPE.
There is also a tooltip warning:
So I guess, I must disable this check somehow. How?
Otherwise I must hard code BUILD_TYPE, which apears at several locations (e.g. binary dir) and it cannot be in inherit configuration.
Platform and Versions
The text was updated successfully, but these errors were encountered: