使用 Intel 编译器集作为平台工具集的 cmake
我的开发机器上安装了 Intel 编译器平台,当使用 Cmake 生成 Visual Studio 2010 解决方案时,我希望能够指定使用“Intel”而不是“vc100”的平台工具集。
我似乎找不到更改此设置的设置,当我将编译器更改为 icl 时,解决方案仍然使用 vc100 编译器构建,直到我手动更改平台工具集。
I have the Intel compiler platform install on my development machine, when using Cmake to generate a visual studio 2010 solution, I want to be able to specify the platform toolset to be using "Intel" instead of "vc100".
I cant seem to find the setting to change this, when I change the compiler to icl the solution still builds with the vc100 compiler until I manually change the platform toolset.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也在寻找类似的功能,将 Windows SDK 7.1 设置为大量项目的默认工具集,而无需手动检查和更改每个项目。
我相信 CMAKE 人们已经添加了该功能,您可以使用类似的内容:
看看:
http://public.kitware.com/Bug/view.php?id=12876
了解更改的详细信息。
I was looking for similar functionality as well, for setting the Windows SDK 7.1 as the default toolset for a large number of projects, without having to go through and change each one by hand.
I believe that the CMAKE people have added that functionality, and you can use something like:
Have a look at:
http://public.kitware.com/Bug/view.php?id=12876
for details of the change.
我能够使用命令行选项(CMake 3.2)更改平台工具集:
I was able to change the platform toolset by using a command-line option (CMake 3.2):