Change project preset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-13 5:28 AM
I'm new to using VS Code extensions and I'm quite impressed so far. However, I've hit a snag trying to change the build preset (like switching between Debug and Release modes).
The first time I built my project, VS Code prompted me to choose a build type (as shown in the screenshot below). I made my selection, but now I can't find any way to change it. I've looked through the menus, settings, and documentation, but I'm coming up empty.
Does anyone know how to change the build preset after the initial selection? Any help would be appreciated.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
VSCode for STM32
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-13 11:26 PM - edited ‎2025-02-13 11:26 PM
I finally solved this! It took some digging, but here's how: In VS Code, look for the CMake button on the left-hand bar to open the CMake panel. In the "Project Status" section, you'll see your current build preset (like "Debug" or "Release") listed below "Configure." Click on the preset name, and a dialog will appear allowing you to select a different build configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-13 11:26 PM - edited ‎2025-02-13 11:26 PM
I finally solved this! It took some digging, but here's how: In VS Code, look for the CMake button on the left-hand bar to open the CMake panel. In the "Project Status" section, you'll see your current build preset (like "Debug" or "Release") listed below "Configure." Click on the preset name, and a dialog will appear allowing you to select a different build configuration.
