kossebau added a comment.

  See D27150 <https://phabricator.kde.org/D27150> as an example next to the 
test and docs for how this would be used. The ecm_qt_export_logging_category 
also is kept similar to ecm_qt_declare_logging_category in case someone wants 
to turn the manual definition to a generated one, that wil just need addition 
of HEADER and the sources variable and change of macro name called.
  
  BTW, core of this logic has been taken from KDevelop's internal util macros, 
where this served for some versions already :) 
https://phabricator.kde.org/source/kdevelop/browse/master/cmake/modules/KDevelopMacrosInternal.cmake
 though with some additional wrappers for repeated data & patterns.

REPOSITORY
  R240 Extra CMake Modules

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

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

Reply via email to