Complete the following steps in the Applications View:
- Locate the application you want to add a build configuration from a preset for.
-
Click the action Add build configuration.
The page for adding a build configuration opens.
When you have aCMakePresets.jsonfile in your project, the form features a CMake Preset field. The field has a drop-down menu with the currently available CMake presets. The names of the preset correspond to thedisplayNamefield inCMakePresets.json. -
Select one of the preset options.
The appropriate fields in the form are filled with the values from the preset. - Click Generate and Build.
This will be Generate if you selected the Generate only checkbox option.