Setting up a build configuration

Just as QNX C/C++ projects have build variants, container projects have build configurations. Each configuration can be entirely distinct from other configurations in the same container. For example, you could have two separate configurations, say Development and Released, in your top-level container. The Development configuration would build the Development configuration of any included container projects, as well as the appropriate build variant for any projects. The Released configuration would be identical, except that it would build the Released variants of projects.

Note: Note that the default configuration is the first configuration that was created when the container project was created.

To create a build configuration for a container:

  1. In the Project Explorer view, right-click the container.
  2. Select Create Container Configuration….
  3. In the Container Build Configuration dialog, name the configuration.
  4. Click Add Project, then select all the projects to be included in this configuration and click OK.
  5. Change the Variant and Stop on error entries for each included project, as appropriate.
    Note: If you want to change the build order, use the Shift Up or Shift Down buttons.
  6. Click OK.
Related concepts
Editing existing configurations
Related tasks
Creating a container project
Editing via project properties
Editing via the Build Container Configuration item
Building a container project