BUILD_PRODUCES
The BUILD_PRODUCES macro instructs the Build utility to build this directory before any directories that contains the corresponding BUILD_CONSUMES macro.
This macro is set in your Sources file and is only applied during Pass 1 of the build process.
For any given string, the directory whose Sources file contains a BUILD_PRODUCES macro with that string will be built before any directories with a corresponding BUILD_CONSUMES macro.
For example, any directory whose Sources file contains this:
BUILD_PRODUCES = ThisString
will be built before any directories whose Sources file contains this:
BUILD_CONSUMES = ThisString
If you want to specify multiple BUILD_PRODUCES strings in one Sources file, there are two ways to do it. You can specify them on one line:
BUILD_PRODUCES = String1 String2 String3
or you can specify them on separate lines:
BUILD_PRODUCES = String1
BUILD_PRODUCES = String2
BUILD_PRODUCES = String3
For more information, see Building on a Multiprocessor Computer.
Send comments about this topic to Microsoft
Build date: 5/3/2011