다음을 통해 공유


Source Code Configuration Files (Windows CE 5.0)

Source code configuration files give the Build tool (Build.exe) information about the following:

  • The directories to traverse
  • The C and Microsoft® Visual C++® files to compile
  • The type of binary file to build

Based on this information, the Build tool builds the source code in a directory and specified subdirectories.

The following table shows the source code configuration file types.

File type Description
Dirs File Identifies subdirectories that contain source code.
Makefile File Contains the variables needed to compile and link the source code.
Module-Definition File Contains the statements defining an executable or dynamic-link library.
Sources File Contains the macro variables needed to build source code.

The Build tool traverses a directory tree, searching for dirs and then sources files.

Dirs files specify the sources files that contain

  • Source code to be built
  • Information on additional subdirectories that contain sources files

When the Build tool locates a sources file in the current directory, it calls the Nmake tool (Nmake.exe), which does one of the following:

  • Compiles the specified C or C++ sources file
  • Links an object module, according to the linking rules contained in the makefile file

For more information about the Build tool, see Build Tool. For more information about the Nmake tool, see Nmake Tool.

See Also

OS Design Configuration Files | Run-Time Image Configuration FilesSource Code Configuration File Macros | Run-Time Image Files | OS Localization

Last updated on Thursday, February 02, 2006

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.