• Friedrich W. H. Kossebau's avatar
    Generate all kdebugsettings .categories files automatically · 774429d0
    Friedrich W. H. Kossebau authored
    Summary:
    Adds two wrapping variants of the macros
    declare_qt_logging_category() & install_qt_logging_categories()
    which have an argument TYPE to control specific behaviour that
    otherwise is generalized in the wrapping macros to not have to repeat
    any things with every macro call and to ensure consistency, e.g. in
    the used description texts.
    
    The wrapper macros also handle linking things by the matching EXPORT ids,
    so the caller does not have to care for this.
    
    No perfect solution yet, but at least a first working approach to automatic
    generation of the kdebugsettings files.
    
    Test Plan:
    Generated categories files contain same ids with same descriptions as
    before.
    
    Reviewers: #kdevelop, kfunk
    
    Reviewed By: #kdevelop, kfunk
    
    Subscribers: kfunk, apol, kdevelop-devel
    
    Tags: #kdevelop
    
    Differential Revision: https://phabricator.kde.org/D16032
    774429d0
CMakeLists.txt 687 Bytes