Skip to main content
Graduate
February 13, 2025
Solved

Change project preset

  • February 13, 2025
  • 1 reply
  • 2918 views

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.

    This topic has been closed for replies.
    Best answer by DamianoF

    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.

    1 reply

    DamianoFAuthorAnswer
    Graduate
    February 14, 2025

    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.