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.
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.
Choose the Configuration Properties branch. Under Configuration, choose All Configurations from the list.
Choose the Environment branch and then choose New.
The Environment Variable dialog box appears.
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.
In the Project Property Pages dialog box, choose OK.