adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Source tree structure


From: Alexandre Courbot
Subject: [Adonthell-devel] Source tree structure
Date: 29 Apr 2002 20:10:36 +0200

Hello everybody,

I've tried a little bit to cut our big mess into directories for C++
namespaces/Python modules. It looks like it will have one consequence:
we'll lose a bit of the dependancies and will have to change a little
bit the way we look at our code.

The problem is that something in a directory can depend on something
that is in a subdirectory, but in this case you can't count on
dependancies to be rebuilt in sub-directories. For example, alextest
relies on libgfx.a, which resides in gfx/, and is built from this
directory. If I modify a file in gfx/ and re-make alextest, libgfx.a
will not be rebuild - I have either to run "make" instead of "make
alextest" (which will re-build anything that has changed) or re-make
libgfx.a in gfx/ before making alextest again. This sounds quite
logical, and at least I haven't found any way to make dependancies work
in sub-directories...

Is it ok that way? Shall I clean up the code a bit? The other advantage
of moving stuff in these directories is that once we merge, we won't
have many conflicts, as the files will have been removed and added in
another directory.

Alex.
-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]