Building a container project

Once you've finished setting up your container project and its configurations, it's very simple to build.

To build the project:

  1. In the Project Explorer view, right-click the project and select Build Container Configuration….
  2. Choose the appropriate configuration from the dialog.
  3. Click Build.

A project's build variant that's selected in the container configuration is built, regardless of whether this variant is selected in the C/C++ project's properties. In other words, the container project overrides the individual project's build-variant setting during the build. The one exception to this is the All Enabled variant in the container configuration. If this setting is in effect, then only those variants that you've selected in the project's build-variant properties are built.

To build the default container configuration, you can also use the Build item in the right-click menu.