Use the BUILD_OPTIONS environment value to specify optional subdirectories (identified by OPTIONAL_DIRS in a Dirs file) that should be scanned during a build operation.

For example:

// DIRS file:
DIRS=dir1 dir2 dir3
OPTIONAL_DIRS=OptDir1 OptDir2 OptDir3
c:\> build OptDir1 OptDir2 OptDir3

means the same as:

c:\> set BUILD_OPTIONS=OptDir1 OptDir2 OptDir3
c:\> build



Send comments about this topic to Microsoft

Build date: 5/3/2011