Am Mittwoch, 20. Januar 2021, 17:10:03 CET schrieb Friedrich W. H. Kossebau: > Am Mittwoch, 20. Januar 2021, 16:51:54 CET schrieb Volker Krause: > > How about we try to come up with an alternative solution for what looks > > like a wide-spread demand for centrally maintained high-quality compiler > > settings instead then? That might also make any kind of enforcement to > > not use this outside of Frameworks unnecessary :) > > I have some idea how to extend the normal KDECompilerSettings to provide the > option for this, by checking ECM_GLOBAL_FIND_VERSION to activate the > addition of stricter settings, while having some cmake vars which set > before including KDECompilerSettings allow to overrule that (compare also > how KDECMakeSettings has variable flags to control what scope of settings > is activated, like KDE_SKIP_RPATH_SETTINGS). > > So people not bumping min ECM required in their projects see old behaviour > (like released tarballs), anyone bumping to a certain higher version > (usually where things got added) opts in, those variables set before allow > to opt out still for certain things if not wanted. > > Planning to turn a first draft into a MR tonight, for further discussion.
Update: hit some mental walls how to do this nicely without putting new stones into the way to KF6. Still on my list, but need to find time to sort my thoughts to properly present them for a sane discussion start, so might only happen in the coming weeks. Anyone else of course invited to share their ideas meanwhile. Cheers Friedrich