2012-11-08 76 views
0

我需要設置編譯器cl.exe/openmp的屬性。Visual Studio 2008 cl.exe屬性openmp

請告訴我,如何以及在哪裏可以做到這一點?

+0

有此頁面上的鏈接... http://openmp.org/wp/openmp-compilers/ – Caribou

+0

項目屬性 - >'配置Properties' - >'C/C++' - > 'Language'。將'Open MP Support'設置爲'Yes(/ openmp)'。 –

回答

0

假設您想爲Visual Studio C++項目設置此功能:請參閱this article in the knowledge base

enter image description here

+0

如果您選擇'Language'而不是'Command Line',則會出現'Open MP Support'下拉列表。 微軟甚至無法獲得OpenMP名稱(在Open和MP之間沒有空間),更不用提他們在2002年停滯不前的糟糕實現(MSVC++僅支持OpenMP 2.0)。 –