Running a project

Running a CBS project is done via the Launch Bar. Make sure the launch bar is installed and enabled.

First build the project for Run. See Building a project.

  1. Select the launch configuration of the project you want to run.

  2. Select launch mode Run.

  3. Press the Run button in the launch bar.

  4. Inspect the program output in the Console window.

Launch a CMake project for Run

Changing run settings

To change run settings:

  1. Set the launch mode to Run

  2. Edit the project’s launch configuration. Click on the gear icon.

Edit launch configuration

The edit launch configuration wizard will open.

On the Main tab you can set an alternative C/C++ application, and you can enable or disable build before launch.

On the Arguments tab you specify optional arguments, and you can change the working directory.

On the Environment tab you define optional environment variables.

Launch configuration main tab


Copyright (c) 2000, 2025 Contributors to the Eclipse Foundation