From kde-buildsystem Fri Feb 17 17:08:24 2012 From: Stephen Kelly Date: Fri, 17 Feb 2012 17:08:24 +0000 To: kde-buildsystem Subject: Re: hidden visibility Message-Id: X-MARC-Message: https://marc.info/?l=kde-buildsystem&m=132949854630061 Alexander Neundorf wrote: > Hi Stephen, > > with your export header stuff you did for cmake 2.8.7, you must have done > a lot with the symbol visibility stuff. > > Is there now a cmake module which I can use to check whether visibility is > supported by the current compiler ? > The current implementation is there since 2.8.6 in Modules/GenerateExportHeader.cmake. COMPILER_HAS_HIDDEN_VISIBILITY is true if it has visibility. USE_COMPILER_HIDDEN_VISIBILITY is an option the user can set to disable using it (default ON). Thanks, Steve. _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem