3

I am using eclipse for programming c. I would like to link two different projects in my workspace. For example, I have a project named List and I would like to create a project named Inventory which uses List. I would like to link the two projects so that all I have is to do is include "list.h". What is the proper way of doing that in eclipse?

expresso
  • 91
  • 1
  • 7
  • possible duplicate of [Eclipse CDT C/C++: Include a header file from another project](http://stackoverflow.com/questions/9272882/eclipse-cdt-c-c-include-a-header-file-from-another-project) – bitmask Feb 15 '12 at 01:20
  • Possible duplicate of [Eclipse CDT C/C++: Include a header file from another project](https://stackoverflow.com/questions/9272882/eclipse-cdt-c-c-include-a-header-file-from-another-project) – tambre Oct 14 '19 at 08:06

1 Answers1

2

Some one asked the same question this morning on this post :Question about CDT and multiple projects

Just look at the answer I did to Bittenus

Community
  • 1
  • 1
Adrien BARRAL
  • 3,474
  • 1
  • 25
  • 37
  • 1
    If you don't want to learn cmake, you can do like Bittenus said in the thread. But to learn cmake you can start here : http://www.cmake.org/cmake/help/examples.html – Adrien BARRAL Feb 15 '12 at 10:35