Development/CMake KDE 4 2: Difference between revisions

From KDE TechBase
(New page: =Changes in the buildsystem from KDE 4.0/4.1 to KDE 4.2= Starting with KDE 4.0.0 source compatibility is guaranteed, this doesn't apply only to the C++ sources, but also to the CMake inte...)
 
Line 11: Line 11:


==Other Changes==
==Other Changes==
===Required CMake Version===
At least version 2.6.2 of CMake is required now. With KDE 4.0 and 4.1 version 2.4.5 was required.
===Removed Options===
KDE4_ALWAYS_USE_FULL_RPATH doesn't exist anymore.

Revision as of 22:10, 10 January 2009

Changes in the buildsystem from KDE 4.0/4.1 to KDE 4.2

Starting with KDE 4.0.0 source compatibility is guaranteed, this doesn't apply only to the C++ sources, but also to the CMake interface.

Incompatible Changes

  1. The reduced link interface, details see below. It may be possible that an application which linked against KDE 4.0/4.1 now fails due to unresolved symbols. In this case the libraries which provide these symbols have to be added to the TARGET_LINK_LIBRARIES() calls. This happens only if symbols are used but the library is not linked again. This can be considered a bug in the cmake files of these applications. Applications which explicitely link against all libraries they use will build successfully with KDE 4.2.


Other Changes

Required CMake Version

At least version 2.6.2 of CMake is required now. With KDE 4.0 and 4.1 version 2.4.5 was required.

Removed Options

KDE4_ALWAYS_USE_FULL_RPATH doesn't exist anymore.