<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: Okular.<br />Herald added a project: Okular.<br />Herald added a subscriber: okular-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/D28639">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Avoids all the explicit boilerplate needed, ensures the dependency on<br />
the JSON file ia also set and allows simple export of the setup<br />
in the installed CMake config file, so other projects importing<br />
the config file have the respective CMake macros set as recommended.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Still builds as before. Touch a plugin metadata JSON file now triggers a moc<br />
rerun. CMake config file contains setup of variables.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>BRANCH</strong><div><div>useECMSetupQtPluginMacroNames</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28639">https://phabricator.kde.org/D28639</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
Okular5Config.cmake.in</div></div></div><br /><div><strong>To: </strong>kossebau, Okular<br /><strong>Cc: </strong>okular-devel, johnzh, andisa, siddharthmanthan, maguirre, fbampaloukas, joaonetto, kezik, ngraham, darcyshen, aacid<br /></div>