Make it possible to build several apk out of a project
ClosedPublic

Authored by apol on Apr 12 2018, 4:14 PM.

Details

Summary

Refactor the apk-generating code into a separate function, in views of
eventually even make it a module.
It also changes so that if no APK dir is specified, a generic dummy one is
used. Useful for proofs of concept.

Test Plan

Built kate, got kate and kwrite apks

Diff Detail

Repository
R240 Extra CMake Modules
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
apol created this revision.Apr 12 2018, 4:14 PM
Restricted Application added projects: Frameworks, Build System. · View Herald TranscriptApr 12 2018, 4:14 PM
apol requested review of this revision.Apr 12 2018, 4:14 PM
apol updated this revision to Diff 31977.Apr 12 2018, 4:33 PM

Polish

apol updated this revision to Diff 32022.Apr 12 2018, 10:59 PM

Fix path

vkrause accepted this revision.Apr 13 2018, 8:52 AM
vkrause added a subscriber: vkrause.

I very much like that direction. I always found the need to specify platform-independent build properties explicitly on the command line weird, so anything moving towards being able to just write that into CMakeLists.txt is good :)
A module with cmake functions you call instead will then also make it easier to control apk generation in more detail by specifying additional parameters, so we can eventually disable the full copying of share and lib/qml.

This revision is now accepted and ready to land.Apr 13 2018, 8:52 AM
This revision was automatically updated to reflect the committed changes.