Eclipse CDT - new template or “project type”

假如想象 提交于 2019-12-24 17:00:02

问题


Using Eclipse Helios and CDT 7.

Is it possible to save a project as a new template/project type?

When you go to create a new project, a dialog opens and you select a project type (Executable -> empty project, etc.) I would like to add one.

Point is, I'm playing with SDL, and I know I'll be making a lot of new projects. I don't want to have to go into the preferences each time and set up the compiler/linker to find the files.

I've been looking for a while, but have had no luck finding anything.


回答1:


Yes you can do what you want. Check out the link How to Register Templates. I created the following plugin using the instructions in the previous link. Download Plugin.



来源:https://stackoverflow.com/questions/5863988/eclipse-cdt-new-template-or-project-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!