Note: To create a container, you must have at least one project that you want to contain.
To create a container project:
Select File
> New
> Project…, and then QNX
> QNX C/C++ Container Project.
Click Next.
Name the container.
Click Next.
In the New Project dialog, click Add Project….
Now select all the projects (which could be other containers) that you want to include in this container, and then click OK.
Each project has an entry for make targets under the Target field. You can click on an entry to get a menu that lets you change the selection. The Default entry
means don't pass any targets to the make command. QNX C/C++ projects interpret this as rebuild. If a project is a container project, this field represents the build
configuration for that container.
Note: You can set the default type for the build for QNX C/C++ projects by opening the Preferences dialog box (Window
> Preferences in the menu), and then choosing QNX
> Container properties.
If the project is a QNX C/C++ project, you can click its Variant entry to select the build variant for each project you wish
to build. You can choose All (for every variant that has already been created in the project's folder) or All Enabled (for just the variants you've selected in the project's properties). Note that the concept of variants makes sense only for
QNX C/C++ projects.
If you wish, click the Stop on error entry to determine whether an error in that specific project causes the overall container build to fail and, therefor, to
stop.
If you want to reduce clutter in the C/C++ Projects view, then create a working set for your container.
The working set contains all the projects initially added to the container. Note that the working set and the container have
the same name.
Note: If you later add elements to or remove elements from a container project, the working set isn't updated automatically.
Click Finish. The IDE creates your container project.
To select a working set, click the down-arrow at the top of the Project Explorer view, and then select Select Working Set….