Share via


SOURCES

The SOURCES macro specifies the files to be compiled. The SOURCES macro is required by the Build utility. This macro must be put in your Sources file. All files specified by this macro must be located in the directory that contains the Sources file or in the parent directory of the Sources file.

The Build utility examines these files and generates a dependency list. If any of those dependencies change, the Build utility rebuilds this source file.

Use this macro to list your source file names. Include the file name extension, and separate the entries in this list by using spaces or tabs.

You can override the generic SOURCES macro with one of these platform-specific macros:

When the Build utility runs, it first checks for the platform-specific macro. If this is not defined, it checks for the SOURCES macro.

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011