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