cmake resets variables

Thiago Macieira thiago at kde.org
Tue Nov 6 14:46:57 CET 2007


Em Tuesday 06 November 2007 14:23:03 Lubos Lunak escreveu:
>  Hello,
>
>  since kBacktrace() is not that useful with hidden symbols, I explicitly
> run cmake with -D__KDE_HAVE_GCC_VISIBILITY=0, which turns it off. However,
> any single change to any CMakeLists.txt re-runs automatically cmake, which
> also runs the cmake test for hidden symbols and enables them
> (interestingly, after yet another change it doesn't run it again). I always
> get undefined symbols as a result of this and I'm getting kind of tired of
> running cmake manually all the time.
>
>  Does somebody know how to fix this?

Make the variable cached.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20071106/20dabec9/attachment.pgp 


More information about the Kde-buildsystem mailing list