$ git clone https://github.com/MTASZTAKI/ApertusVR.git
apertusvr
and the filamentRender
modules separately. We will discuss both of them and the setting up of Android Sapertusvr
Android library containing java (and c++) files. This librarie will become Android archive files (*.aar), similar to a Java archive file (*.jar). It contains the ApertusCore C++ library, and the consisting JNI-binds and wrappers. If you are not familiar with the ApertusVR architecture, check out the Developers/Architecture chapter in the documentation. apeJNIStarter
, which is also a shared library. Then apeJNIStarter
and apeJNIPlugin
(the library which implements the JNI-binds) are loaded in the ApertusJNI class file with Java's System.loadLibrary()
.build.gradle
file (see in the next subsection).build.gradle
file. Other than that, we also have a build.gradle
file for the whole project, where you can configure options for all modules globally. And lastly there is a settings.gradle
file, where you can modify the project settings (e.g. including other modules). You can see these on the picture below.build.gradle (ApertusVR)
. If you open it, you should see in the allprojects
configuration that there's a variable called buildDir
. Currently it looks like this:buildDir = "d:/FooBar/${rootProject.name}/${project.name}"
.build.gradle (:apertusvr)
file, you should see the following commands:defaultConfig
:filamentrender
module:api
command. E.g. in the Filament case it looks like this in build.gradle(:apefilamentrender)
flatDir
in build.gradle(ApertusVR-Android)
:apertusvr
and filamentRender
projects for your own wish, based on the text below, you can finally start the build by clicking Build > Make Project (or by using the small green hammer) for both.apertusvr
.apertusvr-091-android
.