Visual C++ Concepts: Building a C/C++ Program
VCBUILD Options
VCBUILD has the following options:
Option | Description |
|---|
/clean (VCBUILD) | Specifies outputting only clean build outputs. |
/error | Specifies prefixing error lines that are outputted to stdin, stdout, stderr with the string argument. |
/implib | Specifies creating an import library for a DLL configuration. |
/info | Specifies prefixing information lines that are outputted to stdin, stdout, stderr with the string argument. |
/link | Specifies performing a link without building sources. |
/log | Specifies using file as the build log. |
/logcommands | Specifies printing commands and response file to the screen. |
/M | Specifies the number of concurrent builds to run. |
/nocolor | Displays error and warning messages without colorization. |
/noimplib | Specifies not generating an import library. |
/overrideRefVer | Specifies that .NET Framework 3.5 will be used for all assembly references when upgrading a CLR project from a previous version of Visual Studio. |
/pass0 | Specifies performing pass 0 (MIDL) of Build.exe. |
/pass1 | Specifies performing pass 1 (compile) of Build.exe (implies /implib). |
/pass2 | Specifies to perform pass 2 (link) of Build.exe (implies /noimplib). |
/platform | Only builds configurations for the given platform. |
/rebuild (VCBUILD) | Specifies cleaning build outputs and then performs a build. |
/time | Logs the time it takes to complete the build. |
/upgrade | Upgrades the project file to the latest supported format. |
/useenv | Uses the environment variables for PATH, INCLUDE, LIBS, and LIBPATH. |
/warning | Prefixes warning lines with a user-defined string. |

See Also