From the launch bar, you can build a project based on a certain launch mode (i.e., user goal).
Note:
The IDE automatically builds the project when you launch it, so you need to perform these steps only if you want to build
without launching. You could do this to see if the project builds successfully or to generate a debug version of the binary
that's needed by a runtime analysis tool that you intend to run later.
To build a QNX project:
-
In the launch bar, click the button for the Launch Configuration dropdown, which is the middle dropdown:
-
Select the entry for the project that you're building.
This selection tells the IDE how to build and launch the project.
The details of building are controlled by the
build configuration.
-
Click the button for the Launch Mode dropdown, which is the leftmost dropdown:
-
Select the launch mode based on your user goal
(i.e., whether you intend to later run the application, debug it, or profile it).
With default project settings, the launch mode determines which version of the binary gets built.
-
Click the Build button () to start the build.
The IDE attempts to build the project and displays the build output in the
Console window at the bottom. If the build succeeds, you'll see the binary files listed in the
Binaries folder under the project area in the Project Explorer.
The Problems window shows any errors (in red) and warnings (in yellow) from the build.
You can double-click an error line to open the header or source code file at the line that caused the error.