Directory structure in Frameworks

Alexander Neundorf neundorf at kde.org
Thu Dec 8 20:45:57 UTC 2011


On Tuesday 06 December 2011, Stephen Kelly wrote:
> Dario Freddi wrote:
> > Hello,
> > 
> > I am in process of porting some components to the new Frameworks
> > structure. Following
> 
> http://community.kde.org/Frameworks/Strategy_and_Policies#Framework_directo
> ry_structure,
> 
> > I noticed there are still some gaps. KAuth, for example, has a
> > ConfigureChecks.cmake file. Now, for some reasons I might be forced to
> > throw this into src/ regardless, but this could be a good chance to
> > revise the structure policy taking into account other files such as
> > those
> 
> You mean move it to a cmake folder?
> 
> > or, say, Mainpage.dox. Any opinions?
> 
> You mean move it to a dox folder?
> 
> My preference is to not create lots of folders for things which will
> already be a small number of files.
> 
> In the case of cmake files I would make a difference between files used as
> helpers to the CMakeLists file (for configure checks as you note) and find
> modules. 

Exactly.

> If a framework contains cmake modules of its own I might put those
> in cmake/modules.

...or just in cmake/.
Back then I started with cmake/modules/, because I thought maybe we'll have 
more subdirs there. But we don't, so I'd choose just cmake/ as subdir now.

Alex


More information about the Kde-frameworks-devel mailing list