Creating a Command Prompt Build Window (Windows CE 5.0)
After you create an OS design, you can create a command-prompt build window to build your run-time image from.
To create a command prompt build window
Choose the Start button, choose All Programs, choose Accessories, and then choose Command Prompt.
At the command prompt, type the following text string.
set _WINCEROOT=<DRIVE:\>Wince500
Navigate to %_WINCEROOT%\Public\Common\Oak\Misc.
Run Wince.bat.
The following code example shows how to use Wince.bat to set up environment variables for a specific configuration.
In this example, Wince.bat sets up variables for an OS design named MyProj, which is targeted for the x86 processor, and for the CEPC hardware platform.
Wince.bat x86 MyProj CEPC
For more information about Wince.bat, see Windows CE Build Environment Tool.
Set additional environment variables as needed.
For information about environment variables you can set, see Environment Variables.
You can now run Blddemo.bat to perform the following tasks:
- Build your modules and other functionality
- Compile your source code
- Copy your files into the directory specified by the _FLATRELEASEDIR environment variable
- Make your run-time image
For information about Blddemo.bat, see Build Demo Tool.
See Also
Building a Run-time Image Using the Build Demo Tool | Run-Time Image Build Process | Miscellaneous Environment Variables | Set Environment Variable Tool
Send Feedback on this topic to the authors