Hi Enrico,

Von: Enrico Scholz <[EMAIL PROTECTED]>

> Hello,
> 
> I uploaded a module to
> 
>                 http://ensc.de/cmake/FindGNUPaths.cmake
> 
> which sets variables defined in the GNU coding standards and which are
> used by the most auto* based projects. Current cmake suffers under
> missing standardization of used paths. E.g. lot of projects are writing
> simply
> 
> | install(TARGETS foolib LIBRARY DESTINATION lib)
> 
> This is wrong on multilib systems which might expect libraries at
> /usr/lib64, and it requires patching of one or more CMakeLists.txt
> files by packagers to fix this.

Nice, just some comments.
The variable names should probably be all-uppercase and prefixed with some 
common prefix.
As it is now you will get complaints from users once they start to change some 
of these basedirs, since changes their don't propagate to the "inherited" 
install directories. In KDE in FindKDE4Internal.cmake we did some special 
handling to do this better (_set_fancy).
Are all those directories required, like "oldincludedir" ?

Bye
Alex





-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to