CMake questions (add_definition, CMP0063)

Frederik Schwarzer schwarzer at kde.org
Mon Oct 5 13:32:04 UTC 2015


Am Samstag, 3. Oktober 2015, 10:35:49 schrieben Sie:
> On Saturday 03 October 2015 00:30:04 Aleix Pol wrote:

Hi,

> > As a proper fix, I'd suggest looking into
> > extra-cmake-modules/kde-modules/KDECompilerSettings.cmake, there
> > we
> > are setting CMAKE_VISIBILITY_INLINES_HIDDEN globally for all KDE
> > projects, we should figure out what's the most appropriate value
> > for the variable or whether the policy should be set over there.
> Unfortunately, it's not that simple (setting the policy there has no
> effect because it doesn't affect the calling module). See the
> thread "Re: Fwd: Re: [cmake-developers] [PATCH]
> cmCMakePolicyCommand: New PARENT_SCOPE argument" on this very
> mailing-list, kde-buildsystem.

Thanks for the hint. I will read into the thread tonight.

Regards
Frederik


More information about the Kde-buildsystem mailing list