AUI Framework
develop
Cross-platform base for C++ UI apps
|
Some projects may require their custom mobile project (Android Studio or Xcode), for example to specific mobile features (such as Google Play Games integration, Face ID, etc). In this case, you would have to create your own project and link AUI as a library.
You will need a toolchain file which describes your target platform.
In Android, a Gradle-driven project provides the toolchain for you. You don't even need to specify CMAKE_TOOLCHAIN_FILE, Gradle does it for you.
In iOS, there's no "official" toolchain so there are community-provided toolchains (like the one used in AUI).
AUI.Boot forwards CMAKE_TOOLCHAIN_FILE
across all the dependencies.
app/src/cpp/CMakeLists.txt
, add_subdirectory
your C++ application or directly auib_import
the AUI framework (unrecommended because you will experience difficulties when compiling for other platforms).app.gradle
and AndroidManifest.xml
.GLSurfaceView
and pass rendering routines to AUI. Also, take care of handling user input. Also, you can inflate AuiView to your own Android layout.