-
Is there a commonly deployed solution to the problem of CMake expecting to be run in a shell configured with Visual Studio has some cleverness here that gets engaged with the From 50,000 feet, the problem I'm trying to solve is this: is it possible to have Visual Studio and VSCode share a configuration preset in |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This is supposed to work and it does for me in the projects I've tried. We do have code to initialize the MSVC environment when using Ninja with presets (similar to VS) but it sounds like you may have hit a case that didn't work. If you could open an issue and share your presets file and which versions of Visual Studio you have installed, we can start an investigation from that point. |
Beta Was this translation helpful? Give feedback.
This is supposed to work and it does for me in the projects I've tried. We do have code to initialize the MSVC environment when using Ninja with presets (similar to VS) but it sounds like you may have hit a case that didn't work. If you could open an issue and share your presets file and which versions of Visual Studio you have installed, we can start an investigation from that point.