kossebau added a comment.

  Hm, only noticed now that this actually has an unwanted sideeffects: it 
triggers deprecation warnings for all deprecated warning also inside each 
library itself. Which is not what one wants.
  
  Because so far FOO_DISABLE_DEPRECATED_BEFORE_AND_AT as set while building 
library FOO defaults FOO_DEPRECATED_WARNINGS_SINCE to the same version, which 
means, any calls of own deprecated API will be without warnings as well as also 
with the autotests (due to definitions being exported in the BUILD interface). 
But with the group variant of *_DEPRECATED_WARNINGS_SINCE now being set, 
FOO_DEPRECATED_WARNINGS_SINCE instead defaults to that value.
  
  Reserved some time this week to give this some more thought, so far no 
satisfying proposal yet developed.

REPOSITORY
  R240 Extra CMake Modules

REVISION DETAIL
  https://phabricator.kde.org/D24990

To: kossebau, #frameworks, #build_system, apol, dfaure
Cc: dfaure, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, 
michaelh, ngraham, bruns

Reply via email to