如何使用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 $的更多信息。 c $ c>。
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屋!
查看全文