Build Step: Build Platform\Common (Compact 2013)

3/26/2014

After the Build Step: Sysgen OS step, the build process gets substantially simpler. The %_WINCEROOT%\Platform\Common build step runs build.exe in the %_WINCEROOT%\Platform\Common directory. The resulting libraries and .dll files are output to the following two directories, respectively:

  • $(_SG_OUTPUT_ROOT)\Platcomm\$(_TGTPLAT)\Lib\$(_TGTCPU)\$(_WINCEDEBUG) — library files
  • $(_SG_OUTPUT_ROOT)\Platcomm\$(_TGTPLAT)\Target\$(_TGTCPU)\$(_WINCEDEBUG) — .dll files

Note

Some directories in %_WINCEROOT%\Platform\Common are CPU-specific, and their dirs files contain a special directive that indicates that the files in the directory will be compiled only if a particular architecture is selected during the call to wince.bat. For example, the files in the directory that include the CEPC directive are compiled only if the CEPC architecture is selected.

%_WINCEROOT%\Platform\Common directories might depend on libraries from the Sysgen OS step, and might rely on the presence of certain MODULES and COMPONENTS. For example, you cannot build a Bluetooth driver in %_WINCEROOT%\Platform\Common if you did not build Bluetooth functionality into the OS during the Sysgen OS step. To suppress the making of directories whose prerequisites are missing, ceconfig.h filters dirs files based on its contents.

After the Build %_WINCEROOT%\Platform\Common step is completed, the $(SG_OUTPUT_ROOT) directory contains all of the %_WINCEROOT%\Platform\Common files that you need for the later build steps. This step does not need to be run again unless the %_WINCEROOT%\Platform\Common files change.

See Also

Concepts

Build from the Top Down
Build Step: Build Platform\$(_TGTPLAT)