如何使用 Visual Studio x64 进行编译? [英] How to compile with Visual Studio x64?
本文介绍了如何使用 Visual Studio x64 进行编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想从 bat 文件在 VS2008 x64 中编译.
I would like to compile in VS2008 x64 from bat file.
当我在 VS2008 32 位中编译时,我调用 vsvars32.bat.
When I compile in VS2008 32 bits I call vsvars32.bat.
我需要调用什么才能在 x64 中编译?
What do I need to call to compile in x64?
推荐答案
现在的建议是不要使用 vsvar32.bat
而是使用 SetEnv.cmd
来设置你的构建环境.传递 /x64
参数以选择 64 位构建环境.这个MSDN 页面有一些关于SetEnv.cmd
的更多信息.
Nowadays the recommendation is not to use vsvar32.bat
and use SetEnv.cmd
instead to set up your build environment. Pass the /x64
argument to select a 64 bit build environment. This MSDN page has some more information about SetEnv.cmd
.
这篇关于如何使用 Visual Studio x64 进行编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文