The Build System (Compact 7)

3/12/2014

The Windows Embedded Compact 7 build system is a set of programs and files used to build instances of Compact 7. This section, which is for advanced users of Compact 7, describes the build system in detail. It is the basis for understanding command-line build, which in turn is the basis for understanding Platform Builder, the integrated development environment (IDE) builder that is implemented as an add-in to Microsoft Visual Studio 2008. Understanding the build system helps you do the following:

  • Create a stable and robust build process.
  • Take advantage of the power and flexibility of the command line.
  • Save time by creating targeted builds that build only what you need and nothing more.
  • Debug build problems in your own projects more effectively.

For more information about Platform Builder, see Build with Platform Builder.

Note

This section does not cover the differences between the Compact 7 build system and previous versions, but information on porting builds from Windows Embedded Compact 6 to Compact 7 is available in Port Your Build from Windows Embedded Compact 6.

Compact 7 runs on a variety of devices, not all of which require the same components. For example, a device that has no display or audio hardware does not require a media player application. The build system allows you to easily select which components to include in the OS. It combines these components into a binary image that can be downloaded to a device and then executed by the device.

You can select the following types of components for your Compact 7 OS:

  • Core OS (kernel, file system, security features)
  • Built-in applications and services (Media Player, Internet Explorer, Remote Desktop Connection)
  • Built-in driver stacks (USB, networking)
  • Custom drivers and hardware abstractions (display driver, audio driver, OEM adaptation layer)
  • Custom applications

The following table describes the Public and Platform directories placed directly beneath %_WINCEROOT%.

Directory Description

Public

The Public directory contains source code and modules that are common to all platforms.

Platform

The Platform directory contains a directory for each BSP that you specify in Platform Builder. The directories contain the device-specific source code files.

For more information about the directory structure of a Compact 7 installation, see Directory Structure Overview.

In This Section

See Also

Concepts

Build an OS