snippetbashTip
vcvarsall — Setup the environment variables required for using the Microsoft Visual Studio tools. The path of `v
Viewed 0 times
thecommandclienvironmentvcvarsallrequiredvariablessetup
windows
Problem
How to use the
vcvarsall command: Setup the environment variables required for using the Microsoft Visual Studio tools. The path of vcvarsall for a certain Visual Studio installation can be found using vswhere. More information: <https://learn.microsoft.com/cpp/build/building-on-the-command-line>.Solution
vcvarsall — Setup the environment variables required for using the Microsoft Visual Studio tools. The path of vcvarsall for a certain Visual Studio installation can be found using vswhere. More information: <https://learn.microsoft.com/cpp/build/building-on-the-command-line>.Setup the environment for native x64:
vcvarsall x64Setup the environment for cross-compiled native x86 from the x64 host:
vcvarsall x64_x86Setup the environment for cross-compiled native Arm x64 from the x64 host:
vcvarsall x64_arm64Setup the environment for native UWP x64:
vcvarsall x64 uwpCode Snippets
Setup the environment for native x64
vcvarsall x64Setup the environment for cross-compiled native x86 from the x64 host
vcvarsall x64_x86Setup the environment for cross-compiled native Arm x64 from the x64 host
vcvarsall x64_arm64Setup the environment for native UWP x64
vcvarsall x64 uwpContext
tldr-pages: windows/vcvarsall
Revisions (0)
No revisions yet.