On 05/10/2011 08:21 PM, Peter Kümmel wrote:
On 10.05.2011 19:32, Jean-Marc Lasgouttes wrote:
Le 10/05/11 19:29, Peter Kümmel a écrit :
The idea was not to pollute the src dirs because much more than
CMakeLists.txt
is needed. But I think we could move the CMakeLists.txt into the source
dirs and
all other files in development/cmake.

Or even in ./cmake (and ./config could be renamed to ./autotools).

I like this idea.

JMarc


Currently our directory looks a bit inconsistent: we have boost, intl, and src with code. m4, config, and development with build stuff. lib and po with ui things.

Shouldn't we cleanup this? We could also split development:

boost and intl is not our code, but it is source code ->
    src/3rdparty/boost
    src/3rdparty/intl

Actually, I would propose a flat hierarchy:


src/lyx/ : basically one C++ file with main() using the other libraries below or not

src/boost/

src/intl/

src/core/ :
everything that is now in src/. Some of that may go in new src/export/ and src/import/ directories.

src/gui/ :
     everything that is now in
     src/frontents/
     src/frontents/qt4
     src/frontents/qt4/ui
     src/graphics/ (mostly)

src/support/ : same as now
src/insets/ : same as now plus a bit of what is now in src/graphics
src/mathed/ : same as now
src/tex2lyx/ : same as now. Most of that may go in new src/import/ directory.
src/client/ : same as now

This way we would have one directory per program or library.

Abdel.


Reply via email to