[lazarus] Organization of units

Michael A. Hess mhess at miraclec.com
Thu Nov 18 09:01:46 EST 1999


Shane Miller wrote:
> 
> I think we should consider moving all GTK related files into their own
> subdirectory lazarus/lcl/gtk and lazarus/lcl/win32 na dlazarus/lcl/qt
> or make them right off of the lazarus directory.
> 
> Thoughts?  It's way too confusing the way it is now.

Yes of course. I was working on doing that but things just keep me busy
and I haven't gotten to it. I believe I have separated all GTK specific
stuff from most the code (last time I looked) so it should be a matter
of making the directories moving the files and modifing the makefile to
use the subdirectory depending on what you are building.

When you move it you will want to name all the files the same name, at
least the main .pp file. In other words each subdirectory should have
the same set of files with the same name. That way the LCL code doesn't
have to change you just need to indicate which subdirectory to use in
the include in the makefile.

You will probably want to make sure everyone stops development and has
everything checked in before you make this switch. I don't have the time
to devote right now so if you want to do it, go for it.   :-)

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list