apol created this revision. apol added reviewers: Frameworks, Build System. Restricted Application added projects: Frameworks, Build System. apol requested review of this revision.
REVISION SUMMARY Instead of having ad-hoc code for gcc, let CMake do its thing. It has a lot of logic that we may be interested in, for example it will make the clang switch much smoother. Note it raises the minimum cmake to 3.7 for Android, which was released almost 2 years ago. TEST PLAN Built kalgebra on it using kdeorg/android-sdk REPOSITORY R240 Extra CMake Modules BRANCH master REVISION DETAIL https://phabricator.kde.org/D11776 AFFECTED FILES toolchain/Android.cmake toolchain/deployment-file.json.in toolchain/specifydependencies.cmake To: apol, #frameworks, #build_system Cc: michaelh, ngraham