Closed atsushieno closed 3 years ago
And Google has already achieved exactly what I described above in the very latest AGP. https://google.github.io/prefab/build-systems.html
After couple of attempt to use ndkports, I figured ndkports is still no-go. Current builds are based on Cerbero, which is <10x prepared than ndkports. And cerbero alright, it's just "unsupported" for any non-GStreamer projects.
Aside that, packaging things based on prefab format is doable manually.
And JUCE is going to support native CMake build, which is a game changer. https://forum.juce.com/t/native-built-in-cmake-support-in-juce/38700
Some notes:
local.properties
(explained on an Android developer doc)This almost overlaps https://github.com/atsushieno/aap-juce/issues/15, but we'd leave it as a separate issue (it in theory is).
We can specify custom CMake setup using local.properties (explained on an Android developer doc)
This item, which was actually mentioned by a JUCE developer, turned out to not apply here. Whatever local.properties
can point to is only the directory that Google ships as part of Android SDK components. Standard CMake distributions from Kitware has completely different set of files and they are not simply interoperable.
There has been a lot of progress after the last comment (which I believe is not really correct). There are two key points in this issue:
Now that they are logged and/or achieved, this issue can be closed.
The current state of aap-juce support is a big hack and not practically ready for external developers. We have to restructure the entire repo to ease porting.
Emscripten support is another issue that needs a lot more effort, so it can be skipped for now.