如何在Visual Studio 2008(使用CMake)中启用SSE / SSE2指令集? [英] How do I enable the SSE/SSE2 instruction set in Visual Studio 2008 (using CMake)?
问题描述
查看 - >属性页 - > C / C ++ - >代码生成 - >启用增强指令集
但在Visual Studio 2008中?
如果你正在寻找SSE / SSE2: Project>属性>配置属性> C / C ++>代码生成>启用增强指令集
或附加 / arch:SSE
(或 / arch:SSE2
)在命令行>附加选项
。
您需要一个原生项目,并且添加至少一个.cpp文件以访问此项。
In Visual Studio 2005 I went in:
View --> Property Pages --> C/C++ --> Code Generation --> Enable Enhanced Instruction Set
But in Visual Studio 2008?
Thanks in advance
If you're looking for SSE/SSE2: Project > Properties > Configuration Properties > C/C++ > Code Generation > Enable Enhanced Instruction Set
, or append /arch:SSE
(or /arch:SSE2
) in Command Line > Additional Options
.
You need to have a native project, and at least one .cpp file added to access this, though.
这篇关于如何在Visual Studio 2008(使用CMake)中启用SSE / SSE2指令集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!