Build and Rebuild Projects
Build menu incorporates actions associated with building, cleaning, and installing the project. For CMake projects, this menu provides the following options:
Build All in <selected profile>
You can configure the profiles in CMake settings and then select the desired one in the Run/Debug configuration switcher.
Build <selected configuration>
Builds the selected Run/Debug configuration.
Recompile <current file>
Compiles the currently opened file or a group of files, if selected in the Project View. When used for multiple files, the recompilation stops upon the first compilation failure.
This action is also available for compilation database projects.
Calls Clean for all the CMake profiles and then Build Project.
Rebuild All in <selected profile>
Calls Clean and then Build All in <selected profile>.
Rebuild <selected configuration>
Calls Clean and then Build <selected configuration>:
Cleans the project by building the