Compartir a través de


Build Demo Tool (Windows CE 5.0)

Send Feedback

The Build Demo Tool (BldDemo.bat) is used to build and create a run-time image. It calls the three tools shown in the following table. For more information about the build process, see Run-Time Image Build Process.

Tool Function
Master Build Tool (Cebuild.bat) Builds modules and source code for a run-time image.
Build Release Directory tool (Buildrel.bat) Copies the files for a run-time image to a release directory.
Make Binary Image tool (Makeimg.exe) Generates a run-time image.
BldDemo [clean | noclean] [rel | norel] [Cebuild.bat parameters]

Parameters

  • clean
    Must be specified before the Cebuild.bat parameters.

    This parameter cleans the Cesysgen directories for your OS design, which are %_PROJECTROOT%\Cesysgen and %_PLATFORMROOT%\Cesysgen.

    Use this option when you change settings in your Cesysgen.bat file located in %_WINCEROOT%\Public\CEBASE\OAK\Misc.

    Also use this option if you change environment variables that control the behavior of Cesysgen.bat, such as the environment variables prefixed with SYSGEN or BSP.

    For information on Cebuild.bat, see Master Build Tool.

  • noclean
    Used to override the BLDDEMO_CLEAN environment variable.

  • rel
    Used to override the BLDDEMO_NOREL environment variable.

  • norel
    Must be specified before the Cebuild.bat parameters. This stops the process before putting the build to the path and running Makeimg.exe. This is useful when you are performing multiple builds for different microprocessors in an automated process.

  • -qbsp
    Used to specify that Cebuild.bat builds only sources in the Platform tree.

  • -q
    Passed on to Cebuild.bat, which builds the tree. When used, Cebuild.bat calls the Sysgen tool, and does not build the Public tree.

    Do not specify if you have changed sources in the Public tree since the last build. For more information, see Master Build Tool.

  • Cebuild.bat parameters
    Any parameter specified here is passed on to Cebuild.bat, which builds the tree.

Error Messages

Blddemo.bat generates error information in the %_WINCEROOT%\Build.log.

Examples

The following code example builds the run-time image after cleaning the Cesysgen directories.

blddemo clean

The following code example quickly builds a run-time image after assuming that no sources or Sysgen environment variables have changed.

blddemo –q

The following code example cleans the Cesysgen directories, and quickly builds a run-time image after assuming that no sources or Sysgen environment variables have changed.

blddemo clean -q

Remarks

If you use the Build Demo tool to build a run-time image from the command-line, you can use the tool to create the following two files in your release directory that contain information about the functionality that the run-time image contains.

  • One file is named Makeimg.out, which contains the output generated by the Makeimage tool.
  • One file is named SysgenSettings.out, which contains all Sysgen settings after Platform Builder has performed a dependency check on your OS design.

To create these files, from the command line, set BLDDEMO_MI_LOG=1.

For more information, see How to Determine the Contents of a Run-Time Image.

See Also

Building a CEPC Run-Time Image for Use with an Ethernet Card | Building a Run-time Image Using the Build Demo Tool | Creating a Command Prompt Build Window | Building a Run-Time Image That Supports the Kernel Profiler | Master Build Tool | Build Release Directory Tool | Make Binary Image Tool

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.