Cleanup CMakeLists.txt and drop use of custom macros
ClosedPublic

Authored by asturmlechner on Apr 21 2019, 3:02 PM.

Details

Summary
  • Raise KF5_MIN_VERSION to 5.18.0 and use for ECM
  • Simplify optional Qt5/KF5 deps, drop ENABLE_KIO
  • Drop use of DETECT_LIBKIPI macro and move relevant part to CMakeLists.txt
  • Drop use of DETECT_LIBMEDIAWIKI
  • Drop use of DETECT_LIBKVKONTAKTE
  • cmake: Remove MacroLocalLibs.cmake module
  • Use FeatureSummary instead of local MacroUtils.cmake
  • cmake: Remove unused MacroUtils.cmake module
Test Plan

Built successfully against KF5MediaWiki and KF5KIO, could not test KF5Vkontakte

Diff Detail

Repository
R480 Kipi Plugins
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
asturmlechner requested review of this revision.Apr 21 2019, 3:02 PM
asturmlechner created this revision.
aacid added a comment.Apr 25 2019, 8:57 PM

It compiles here (including vkontakte)

TBH i don't know enough about the logic behind all the code your changing to comment, so take this as a +0.5 i guess, at some point if you're bored of waiting and sure this is fine or commit to fix whatever this breaks i'd say you can commit

It compiles here (including vkontakte)

TBH i don't know enough about the logic behind all the code your changing

Thanks for testing. The commits really do only what they tell, to make it look more like a regular kde-apps project. 'New' lines in CMakeLists.txt are only those parts copied (not otherwise changed) from DETECT_* macros that are relevant to kipi-plugins standalone building, all the other stuff was for building it as part of some 'Digikam SC' bundle.

This revision was not accepted when it landed; it landed in state Needs Review.May 5 2019, 2:37 PM
This revision was automatically updated to reflect the committed changes.