Source Code Configuration Files (Windows Embedded CE 6.0)
1/5/2010
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 |
---|---|
Identifies subdirectories that contain source code. |
|
Contains the variables needed to compile and link the source code. |
|
Contains the statements defining an executable or dynamic-link library. |
|
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
Concepts
OS Design Configuration Files
Run-Time Image Configuration Files
Source Code Configuration File Macros
Run-Time Image Files