D28639: Use ecm_setup_qtplugin_macro_names

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Apr 7 00:19:42 BST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20200406/bcc198b4/attachment.html>


More information about the Okular-devel mailing list