How do I enable the SSE/SSE2 instruction set in Visual Studio 2008 (using CMake)?

后端 未结 4 1161
庸人自扰
庸人自扰 2021-01-11 11:39

In Visual Studio 2005 I went in:

View --> Property Pages --> C/C++ --> Code Generation --> Enable Enhanced Instruction Set

But in Visual Studio 200

4条回答
  •  时光说笑
    2021-01-11 12:00

    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.

提交回复
热议问题