You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ${hostSystemName} in CMakeUserPresets.json it is left unexpanded by the extension.
I'm using the following CMakeUserPresets.json without a CMakePresets.json:
Thank you for reporting this issue. There was a bug in the code determining whether to include ${hostSystemName} in the variable expansion. A PR is out with the fix.
Brief Issue Summary
When using
${hostSystemName}
in CMakeUserPresets.json it is left unexpanded by the extension.I'm using the following CMakeUserPresets.json without a CMakePresets.json:
when I configure the project the command line shows
${hostSystemName}
unexpandedOther macros seems to expand fine.
Running cmake manually does expand that macro:
A reproducing project can be found at https://github.com/dvirtz/bugs/tree/cmake-hostSystemName.
CMake Tools Diagnostics
Debug Log
The text was updated successfully, but these errors were encountered: