With Eclipse: How to add include paths and libraries for all your C/C++ project

后端 未结 8 1937
闹比i
闹比i 2020-12-17 09:33

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?<

8条回答
  •  悲哀的现实
    2020-12-17 09:39

    For libraries I do the following in the source project:

    Project -> properties -> c/c++Build -> c++ linker -> libraries

    After this I select libraries (shift + mouse) & copy (ctrl + c)

    In the blank project:

    Project -> properties -> c/c++Build -> c++ linker -> libraries

    ctrl + v (paste)

    Works fine with eclipse juno

提交回复
热议问题