OPTIONAL_DIRS (Windows CE 5.0)
This keyword specifies an optional set of directories in which Build.exe looks for a dirs or sources file when you explicitly request the directory.
This keyword uses the following syntax:
OPTIONAL_DIRS=directory [ directory ]...
Required
No
Parameters
- directory
The optional directory in which Build.exe searches for a dirs or sources file.
Example
DIRS= \ Proj1 \ Proj2 OPTIONAL_DIRS=Proj3 Proj4
If OPTIONAL_DIRS is defined, Build.exe builds the code in the Proj3 and Proj4 subdirectories under the current directory only as described in the following explanation.
Remarks
There are two ways to explicitly direct Build.exe to search optional directories. If Proj3 and Proj4 are defined in an OPTIONAL_DIRS entry, you can do either of the following tasks:
Include the directory names on the Build.exe command line.
build Proj3 Proj4
- or -
Set the BUILD_OPTIONS environment variable to include the names of the optional directories to be built.
set BUILD_OPTIONS=Proj3 Proj4 build
See Also
Last updated on Thursday, February 02, 2006
Send Feedback on this topic to the authors