Partager via


Build Menu Options (Compact 2013)

10/26/2015

The Build menu provides a variety of options for your OS design, such as building run-time images.

This menu contains build commands and flags that modify these commands, resulting in more flexibility when determining the settings for a build.

Note

Menu options specific to Windows Embedded Compact 2013 are visible only when the active project is an OS design.

This functionality is similar to the functionality available in a command-line prompt build window. The results of a build depend on the settings that you choose, and can vary widely.

You can customize the settings for a build according to your needs by selecting the build flags you want to set, and then choosing a build command to begin the build.

For more information about these build options, see Advanced Build Commands.

The following build options are available on the Build menu.

Command

Description

Build Solution

Visual Studio.

Performs a build of all projects in the currently active Microsoft Visual Studio 2013 or Microsoft Visual Studio 2015 solution.

This is the equivalent of the following command.

blddemo -q

Rebuild Solution

Visual Studio.

Performs a rebuild of all projects in the currently active Visual Studio 2013 or Microsoft Visual Studio 2015 solution.

This is the equivalent of the following command.

blddemo clean -q.

Clean Solution

Visual Studio.

Performs a clean of all projects in the currently active Visual Studio 2013 or Microsoft Visual Studio 2015 solution.

This is the equivalent of cleanos.bat.

Build <OS design>

Runs the Sysgen tool on files related to the OS design. This assumes that the files have not changed from a previous build process.

Gg469899.note(en-us,WinEmbedded.80).gifNote:
If you have added or removed files or Catalog items after a previous Sysgen, it is recommended that you choose Rebuild <OS design> before running a new build. This reduces the chances of a build error appearing.

Subprojects in the OS design are included in the build process. No files are copied to the release directory.

This is the equivalent of the following command.

blddemo -q

Rebuild<OS design>

Performs a rebuild of the active OS design.

This is the equivalent of the following command.

blddemo clean -q

Clean <OS design>

Performs a clean of the active OS design.

Advanced Build Commands

Provides build options for advanced users who are familiar with the build system.

For more information, see Advanced Build Commands.

Custom Build Commands

Performs user defined build commands.

For more information, see Options Dialog Box: OS Design and Build: Build Commands.

Build All Subprojects

Performs the following commands on all subprojects currently included in the OS design. The second and third lines are repeated for each subproject.

set WINCEREL=1
cd <CurrentSubproject>
build -nmake cleantgt && build
makeimg

These commands mean that the Build tool is called for each subproject. This is useful if you made changes to the subprojects, but not the OS design.

Rebuild All Subprojects

Performs the following commands on all subprojects that are currently included in your OS design. The second and third lines are repeated for each subproject.

set WINCEREL=1
cd <CurrentSubproject>
build -c
makeimg

These commands mean that the Build tool is called for each subproject. This is useful if you made changes to the subprojects, but not the OS design.

Build All SDKs

Select to build all SDKs currently included in your OS design.

Gg469899.note(en-us,WinEmbedded.80).gifNote:
It is recommended that you make sure that a run-time image based on your OS design has been built before building an SDK.

Copy Files to Release Directory

Select to use the Buildrel tool to copy output files to the release directory after the build completes.

Make Run-Time Image

Select to use the Makeimg tool to use files in the release directory to create the run-time image after the build completes.

Clean and Make Run-Time Image

Select to perform a clean and then use the Makeimg tool to use files in the release directory to create the run-time image after the build completes.

Open Release Directory in Build Window

Use to open a command prompt build window in the release directory for your OS design.

Targeted Build Settings

Use to view or modify the targeted build settings, which affect the selected Catalog items in your OS design.

You can select or clear the Make Run-Time Image After Building option, which creates the run-time image after the build has completed, using the newly built files.

Batch Build

Use to modify and choose multiple configurations of your OS design from which to build run-time images.

Configuration Manager

Use to modify and choose an active configuration for your OS design.

The Standard toolbar can also be used to access Configuration Manager.

See Also

Concepts

Platform Builder User Interface

Other Resources

Platform Builder Menus