Command-Line Builds

Use the Msdev utility to build a project or workspace file from the command line. The following examples demonstrate the proper syntax for building a project for a Palm-size PC that uses an MIPS processor and for an emulated Handheld PC (HP/C) that works with Microsoft® Windows® CE for the Handheld PC, version 2.0:

Use the Nmake utility to build makefiles. When linking files, use the correct subsystem flag for your target platform. If you are working within Visual Studio, the toolkit provides the correct flag automatically; do not change it. When using Nmake from the command line, refer to the following table to specify the correct subsystem flag.

Target platform Subsystem flag
Standard Win32 target -subsystem:windows
Windows CE emulation -subsystem:windows
-windowsce:emulation
Windows CE-based remote device -subsystem:windowsce, *

* = version number, such as 2.10


The following examples demonstrate the proper syntax for building makefiles for a Palm-size PC; for an H/PC that works with Microsoft Windows CE for the Handheld PC, version 2.0; or for an H/PC that runs Microsoft Windows CE, Handheld PC Professional Edition, version 3.0:

You can build target environments for any of the following processors:

Batch files for building these environments are located in the Windows CE Tools\WCE211\BIN directory. These batch files are templates only; you must modify them for your project before you can use them.