当项目导入到 eclipse 时,.cpp 文件将转换为 .cc 文件
我想在 Eclipse 中打开 autodock 源代码。因此,我使用“Makefile Project with Existing Code”选项导入源代码。
原始源文件的扩展名为 .cpp。但导入源代码后,所有 cpp 文件都更改为 .cc 扩展名。
如何导入源并保持相同的文件扩展名?我正在使用 Eclipse Indigo CDT。
I want to open the autodock source code in Eclipse. So I imported the source using the "Makefile Project with Existing Code" option.
The original source had files of .cpp extension. But after importing the source all the cpp files are changed to .cc extension.
How do I import the source and keep the same file extension? I'm using Eclipse Indigo CDT.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想通了:) 首先创建一个新的空项目 New->Create C Project。然后在项目资源管理器中右键单击新项目,单击导入并选择文件系统。最后给出包含源文件的文件夹的路径
I figured it out :) First Create a new empty project New->Create C Project. Then right click on the new project in the project explorer, click import and select file system. Finally give the path to folder which contain the source files