[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Re: Importing a dependent projects

Barzo wrote:

Axel Mueller wrote:

Eclipse does not support "nested" projects i.e. a project in the subfolder of another project. There are several bugzilla requests to change this behavior but I guess it will never happen. I suggest you do the following:

Eclipse_MAIN_PROJECT_FOLDER
 |- docs
 |- include
 |- lib
 |- project
 |    |- MSVC
Eclipse_Sub Project 1
 |     |       |- win32
 |     |           |- MSVC
Eclipse_Sub Project 2
 |     |       |- win32
 |     |           |- MSVC
Eclipse_Sub Project 3
 |     |       |- win32
 |     |           |- MSVC


Hi Axel,
thanks a lot for your reply!

I think this is a big limitation in the projects management!
Anyway...

I don't understand very well your graph...
You mean to put the eclipse project into the main folder of each project
Yes.

and put the SubProjects folders directly inside the main project?
No. The SubProjects must be on the identical folder level than the main project, i.e. in the example above you will have 4 Eclipse projects (MAIN, SUB1, SUB2, SUB3). MAIN will contain these subfolders
|- docs
|- include
|- lib
|- project
| |- eclipse
| |- MSVC
|
|- src
and SUB1 will contain
|- win32
|- MSVC


etc.

If so, I think this creates a lot of confusion in the projects
management!! But if it is the only solution...
There is an alternative. You create the MAIN project as described above and a project "thirdparty" with all its subfolders. Then you create Make Targets (search this forum how to do this) for all the subprojects to call the makefiles residing in them.

 Axel