Compartir a través de


Master Build Tool (Windows CE 5.0)

Send Feedback

The Master Build Tool (Cebuild.bat) builds the modules and functionality and generates the source code for an entire OS design. Cebuild.bat performs the following steps to create a run-time image:

  • For each project specified by the _DEPTREES environment variable, Cebuild.bat runs Build.exe in the %_WINCEROOT%\Public\Tree directory, where Tree is a project specified by _DEPTREES. Build.exe compiles the source code in the project's directories.
  • For each project specified by the _DEPTREES environment variable, Cebuild.bat runs Sysgen.bat –pTree, where Tree is a project specified by _DEPTREES. Sysgen.bat builds the project's modules, which are selected in Cesysgen.bat. Sysgen.bat builds the modules in the %_PROJECTROOT%\Oak\Misc directory.
  • Cebuild.bat runs Build.exe in the %_PLATFORMROOT%\%_TGTPLAT% directory to compile the code for the hardware platform.
Cebuild

Parameters

  • -h
    Displays a Help screen.

  • -q
    Calls Sysgen.bat only; does not call Build.exe. This is not recommended in most circumstances. This option is not used for source code builds.

  • -c
    Cleans the build by deleting the following intermediate files that were created during the build process for the specified configurations.

    $(SG_OUTPUT_SDKLIB)\*.*
    $(SG_OUTPUT_OAKLIB)\*.*
    $(SG_OUTPUT_OAKTGT)\*.*
    $(SG_OUTPUT_ROOT)\sdk\inc\*.*
    $(SG_OUTPUT_ROOT)\oak\inc\*.*
    $(SG_OUTPUT_ROOT)\ddk\inc\*.*
    $(SG_OUTPUT_ROOT)\oak\files\*.*
    $(SG_OUTPUT_ROOT)\oak\tokens\jpn\*.*
    $(SG_OUTPUT_ROOT)\oak\tokens\ger\*.*
    $(SG_OUTPUT_ROOT)\oak\tokens\*.*
    

Error Messages

Cebuild.bat generates error information in the following files:

  • %_WINCEROOT%\Build.err
  • %_WINCEROOT%\Build.log

Example

The following code example shows how to use Cebuild.bat.

cebuild

See Also

Build Demo Tool | Build Tool | Sysgen Tool

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.