KDE/kdelibs/cmake/modules

David Faure faure at kde.org
Thu Dec 21 14:05:14 CET 2006


On Wednesday 20 December 2006 23:00, Dirk Mueller wrote:
>     set(_GCC_COMPILED_WITH_BAD_ALLOCATOR FALSE)
>     if (GCC_IS_NEWER_THAN_4_1)
>        exec_program(${CMAKE_C_COMPILER} ARGS -v OUTPUT_VARIABLE _gcc_alloc_info) 
>        string(REGEX MATCH "(--enable-libstdcxx-allocator=mt)" _GCC_COMPILED_WITH_BAD_ALLOCATOR "${_gcc_alloc_info}")
> +      string(LENGTH _GCC_COMPILED_WITH_BAD_ALLOCATOR "${_GCC_COMPILED_WITH_BAD_ALLOCATOR}")

This is the line that messes up everything and leads to every binary starting with "32" in its name.
While this does sound very much like a cmake bug, what was that line trying to achieve anyway?

-- 
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-buildsystem mailing list