如何在Visual Studio 2008(使用CMake)中启用SSE / SSE2指令集? [英] How do I enable the SSE/SSE2 instruction set in Visual Studio 2008 (using CMake)?

查看:2029
本文介绍了如何在Visual Studio 2008(使用CMake)中启用SSE / SSE2指令集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2005中我进入:



查看 - >属性页 - > 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆