<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24990">View Revision</a></tr></table><br /><div><div><p>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.</p>

<p>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.</p>

<p>Reserved some time this week to give this some more thought, so far no satisfying proposal yet developed.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24990">https://phabricator.kde.org/D24990</a></div></div><br /><div><strong>To: </strong>kossebau, Frameworks, Build System, apol, dfaure<br /><strong>Cc: </strong>dfaure, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns<br /></div>