add_definitions() and -U flag

Alexander Neundorf neundorf at kde.org
Fri May 19 21:22:35 CEST 2006


Hi,

On Friday 19 May 2006 16:48, Dmitry Suzdalev wrote:
> Hi!
...
> PS. One more thing - I'm just curious :). I see set(KDE4_DEFINITIONS ....)
> in kdelibs' FindKDE4Internal.cmake, but where does it gets passed to cmake?
> Can't find it with grep ;). Or cmake internals know about KDE4_DEFINITIONS
> variable and pick it up?

The top level CMakeLists.txt in each module contains:
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DHAVE_CONFIG_H=1)

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list