Generate kdebugsettings .categories file automatically
Summary:
Done only for kdevplatform to showcase the idea. Would extend also for
plugins & app once okayed.
Things could be even more simplified by adding another wrapper macro which
avoid repeating all the patterns.
Test Plan:
Generated file matches the old manually one (except comments) and is
installed to same location.
Build works as before.
Reviewers: KDevelop, kfunk
Reviewed By: KDevelop, kfunk
Subscribers: kfunk, kdevelop-devel
Tags: KDevelop
Differential Revision: https://phabricator.kde.org/D15977