Hi,

I create a new branch ImprovedConfigDotCMakeFile in the kdeexamples 
repository, used by the buildsystem/HowToInstallALibrary/ example:
http://quickgit.kde.org/?p=kdeexamples.git&a=tree&h=9c8e84b16079b35f15c50ea027bbc95bd387bf90&hb=6caa67be56231d3017859a26db2097b8c8826f4e&f=buildsystem/HowToInstallALibrary

It adds two new macros, currently called determine_installed_location() and 
set_absolute() which should help with that.
Once polished, they should go into cmake (2.8.8), so everybody can use them.

With these two new macros, the developer does not have to calculate the 
relative and absolute paths himself anymore, but can rely on their logic.
Also the CMakeLists.txt becomes a bit simpler, by removing the IMO most 
obscure part (the calculation of the relative install dir).

Comments ?

Alex

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to