Share via


SYNCHRONIZE_PASS2_DRAIN

The SYNCHRONIZE_PASS2_DRAIN macro affects Pass 2 of the build process. During this pass, the macro causes the Build utility to build a certain directory last.

A directory whose Sources file contains this macro will not be built until all other subdirectories have been built during Pass 2. To use this macro, specify the following in your Sources file:

SYNCHRONIZE_PASS2_DRAIN=1

For more information, see Building on a Multiprocessor Computer.

Note  It is strongly recommend that you do not use this macro. To synchronize the build process during Pass 2, use the BUILD_PASS2_CONSUMES and BUILD_PASS2_PRODUCES macros instead

 

 

Send comments about this topic to Microsoft

Build date: 5/3/2011