CMake - 使用 Intel 编译器生成 Visual Studio 项目
是否有一种简单(或黑客)的方法来生成使用 cmake 中的英特尔编译器的 Visual Studio 2008 项目?
我发现了一些关于使用 ICProjConvert< 的注释 /代码>。有人有任何被证明可以工作的脚本或 CMake 片段吗?
这是我想要获得的最终解决方案的屏幕截图。请注意,它包含英特尔编译器项目: 替代文本 http://img156.imageshack.us/img156/370/screenau.png< /a>
Is there a simple (or hack) way to generate a Visual Studio 2008 project that uses Intel Compiler from cmake?
I have found some notes about using ICProjConvert
. Does anyone have any scripts or CMake snippets that are proven to work?
Here's the screenshot of the final solution I'd like to obtain. Note that it contains Intel Compiler projects:
alt text http://img156.imageshack.us/img156/370/screenau.png
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前情况不太好。经过大量谷歌搜索后,我设法找到了以下 线程 在邮件列表上。事实证明,我并不是唯一一个在这个问题上苦苦挣扎的人。目前还没有简单的解决方案,因为:
作为快速修复,我可以执行以下操作:
更新:
在生成后任务中进行项目转换有点麻烦。我开始考虑修改现有的 Visual Studio 生成器以便能够创建正确的结构。结构本身与典型解决方案没有太大区别:
.icproj
文件。它们包装了 VS 项目并对应于屏幕截图上的蓝色东西。.vcproj
保持不变。它们在.icproj
文件中被引用(通过 GUID 和名称)对解决方案中
.vcproj
文件的唯一引用.sln
定义被替换为对.icproj
文件的引用。项目类型也更改为英特尔项目特定的常量 GUID。更新 2: 检查错误跟踪器。
The situation is not that good at the moment. After much googling, I've managed to find the following thread on the mailing list. It turns out that I'm not the only one struggling with the problem.For the time being there is no easy solution, as:
As a quick fix I can do the following:
Update:
Doing the project conversion in the post-generate task is a bit of a hack. I started to think about modifying the existing Visual Studio generator(s) to be able to create the right structure. The structure itself does not differ much from the typical solution:
.icproj
files are introduced between the solution and VS project level. They wrap the VS project and correspond to the blue thingy on the screenshot..vcproj
remain unchanged. They are being referenced (by GUID and name) in the.icproj
filesUnique references to
.vcproj
files in the solution.sln
definition are replaced with the references to.icproj
files. The project type is changed as well to a Intel Project specific constant GUID.Update 2: Check the bug tracker.