add_definitions() and -U flag

Dmitry Suzdalev dimsuz at gmail.com
Fri May 19 21:38:25 CEST 2006


On Friday 19 May 2006 23:22, Alexander Neundorf wrote:
> 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)
Good to know.
I just have to look wider next time - I grepped only kdelibs/cmake/modules :).

Thanks, Alex


More information about the Kde-buildsystem mailing list