Environment Variables of the Build System

As mentioned above, the OS build process is controlled through environment variables. An OS design is defined by what environment variables it sets. Each OS design has an associated PBInitEnv.bat file that is called to configure the build environment for that OS design. PBInitEnv.bat is called either when a new build window is opened through the Build Open Release Directory in the Build Window menu item in Platform Builder, or when an OS build is initiated through the Platform Builder UI. A sample PBInitEnv.bat file is as follows:

@echo off REM Initial environment configuration set _PB_INSTALL_ROOT=C:\PROGRA~1\MI0D56~1\6.00 set USING_PB_WORKSPACE_ENVIRONMENT=1 set _WINCEROOT=C:\WINCE600 set _FLATRELEASEDIR=C:\WINCE600\OSDesigns\CEBook\CEBook\RelDir\ ...

Get Windows® Embedded CE 6.0 Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.