<table><tr><td style="">kossebau created this revision.<br />kossebau added reviewers: Build System, Frameworks, broulik, mlaurent.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />kossebau requested review of this revision.
</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/D27150">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Having to manually maintain a separate copy of all the data about qt logging<br />
categories in the categories files comes with the usual disadvantages.<br />
The new macro ecm_qt_install_logging_categories together with the additions<br />
of arguments DESCRIPTION & EXPORT to ecm_qt_declare_logging_category allows<br />
to have just one place with one copy of the data, and have the categories<br />
file automatically generated from that data, linked via the EXPORT id.</p>
<p>For cases not using ecm_qt_declare_logging_category, but having categories<br />
manually defined in code, yet wanting to have info about those categories in<br />
the installed fiel, ecm_qt_export_logging_category allows to add those data<br />
to the system.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Added unit tests work, porting of some repos created categories files whose<br />
diff against the manually created files were only the DO_NOT_EDIT header.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>BRANCH</strong><div><div>addautomaticcategoriesgeneration</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27150">https://phabricator.kde.org/D27150</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>modules/ECMQtDeclareLoggingCategory.cmake<br />
tests/ECMQtDeclareLoggingCategoryTest/CMakeLists.txt<br />
tests/ECMQtDeclareLoggingCategoryTest/log.categories</div></div></div><br /><div><strong>To: </strong>kossebau, Build System, Frameworks, broulik, mlaurent<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns<br /></div>