Setting up Platform Builder to Build Modified Code in a Public Directory (Windows Embedded CE 6.0)


The following steps describe how to set up Platform Builder build modified code in a public directory.

It is assumed that you have already set the necessary directories and sources files to expose your code to the build engine.

  1. Make sure your OS Design Project is selected in the Solution Explorer. From the Project menu, select Properties.

    The Project Property Pages dialog box appears.

  2. Choose the Configuration Properties branch. Under Configuration, choose All Configurations from the list.

  3. Choose the Environment branch and then choose New.

    The Environment Variable dialog box appears.

  4. Enter a variable named BUILD_OPTIONS and assign it to the name of the directory that contains the modified code that you want to build; then choose OK.

    For example, if the source code for your customized shell is in %_WINCEROOT%\Public\Shell\Oak\MyCustomShell, set BUILD_OPTIONS to MyCustomShell.

    Verify that the name of the new build directory is unique compared to all file, directory, and subdirectory names in your %_WINCEROOT% directory.
    Duplicate directory names can cause the build engine to skip a directory or improperly locate the binary file that results from the build when the entire run-time image is compiled.
  5. In the Project Property Pages dialog box, choose OK.

Community Additions