与Eclipse:如何添加包含所有的C / C ++项目路径和库 [英] With Eclipse: How to add include paths and libraries for all your C/C++ project

查看:123
本文介绍了与Eclipse:如何添加包含所有的C / C ++项目路径和库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能加入包括路径和库所有的C / C ++项目?在其他的话:我怎样才能让他们的全球或复制一个C / C ++项目构建设置到另一个

Is it possible to add include paths and libraries to all C/C++ projects? In others words: How can I make them global or copy one C/C++ project build setting to another one?

推荐答案

对于Eclipse靛蓝:
有没有可能在全球范围界定包括路径和库。
但是你可以导出和从一个项目导入到另一个。

For Eclipse Indigo: There is no possibility to define globally include paths and libraries. But you can export and import them from one project to another.

转到项目>属性> C / C ++常规>路径和符号
然后点击导出设置... 以保存包括路径和/或符号定义到一个文件中。在你的其他项目中,你就可以使用导入设置...

Go to Project > Properties > C/C++ General > Paths and Symbols Then click Export Settings... to save the include paths and/or symbol definitions to a file. In your other project, you can then use Import Settings...

这篇关于与Eclipse:如何添加包含所有的C / C ++项目路径和库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆