cmake and 64 bit installations

David Faure faure at kde.org
Fri Jun 9 14:45:02 BST 2006


On Friday 09 June 2006 14:21, William A. Hoffman wrote:
> At 06:34 AM 6/9/2006, Thomas Zander wrote:
> >On Friday 9 June 2006 11:50, Will Stephenson wrote:
> >> Is it documented anywhere?
> >
> >Type 'ccmake ../../kdelibs'
> >(thats indeed 2 c's)
> >and see all the config options you have including an helpline at the 
> >bottom of the screen when you are over it :-)
> 
> CMake does detect if it is a 64 bit build.   CMAKE_SIZEOF_VOIDP
> is automatically detected in all cmake runs.   So, you could change
> the default LIB install dir to lib64 based on that value.   CMake
> already adds 64 to the names of directories that it searches for 
> libraries.

You can't do that. On some systems (e.g. Debian/Kubuntu), 64-bit libs go to "/lib"
and 32-bit libs if any go to "/lib32".

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).





More information about the kde-core-devel mailing list