System-specific package options

The following outlines systems-specific configuration options available for packages.

LIBFOO_VSDEVCMD

备注

The option is ignored in non-Windows environments.

Added in version 1.3.

Allows a package to automatically load Visual Studio Developer Command Prompt (VsDevCmd.bat) variables into the releng-tool process. This will allow a package to invoke commands as if releng-tool was started from within a Visual Studio Developer Command Prompt.

LIBFOO_VSDEVCMD = True

A package looking to use an explicit version of Visual Studio can specify a version string that is compatible with Visual Studio Locator's (vswhere) -version argument.

LIBFOO_VSDEVCMD = '[17.0,18.0)'

See also vsdevcmd.