Share via


Setting up Platform Builder to Build Modified Code in a Public Directory

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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.

To set up Platform Builder to build modified code

  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.

    Note

    Verify that the name of the new build directory is unique compared to all file, directory, and subdirectory names in your %_WINCEROOT% directory.

    Note

    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.

See Also

Tasks

How to Customize the Shell

Other Resources

OPTIONAL_DIRS
Dirs File
Sources File