How does 1 product with n modules relate to projects? [message #154928] |
Thu, 22 September 2005 14:41 |
Eclipse User |
|
|
|
Originally posted by: sune_ahlgren.hotmail.com
Hi all!
I have looked back and forth in the CDT UG to find a 'good-practice' way
on how to set up 1 product with n modules containing m categories (for
lack of better words).
I'm new to Eclipse, usually I create my own makefiles, BUT the good thing
with Eclipse is that I should not have to worry about makefiles. I'm sure
there is a way to do this I just can't figure out how. Don't bother about
CVS at this stage.
Example structure:
# Product x, Module 1
product/module1/category1/stuff1.h
product/module1/category1/stuff1.c
product/module1/category1/stuff2.h
product/module1/category1/stuff2.c
product/module1/category2/stuff1.h
product/module1/category2/stuff1.c
# Product x, Module 2
product/module2/category1/stuff1.h
product/module2/category1/stuff1.c
product/module2/category2/stuff1.h
product/module2/category2/stuff1.c
and so on...
Don't bother about namespaces and such above, it is just my way of trying
to explain what I want to achieve. I want to create an .so file for each
module by just building that specific module or build the entire product
(with several .so libs linked into 1 executable on product level) by
ordering build on the product level.
I hope what I want to do is clear, and I'm sure what I want to do is not
rocket science, but as I said: I haven't been able to figure it out by
reading UGs.
Thanks a bunch in advance
/Sune
Basically, product should be a makefile contianing subdirectories pointing
to the modules, nothing else. Each module points to categories/
|
|
|
Powered by
FUDForum. Page generated in 0.04694 seconds