LiquidModel =========== Multiplatform Android, GNU/Linux, Windows codebase. License ------- Copyright (C) 2023 John Tsiombikas This program is free software. Feel free to use, modify, and/or redistribute it under the terms of the GNU General Public License version 3, or at your option any later version published by the Free Software Foundation. See COPYING for details. Android build ------------- Set up the environment with two variables: `SDK` and `NDK` pointing to the directories where the android SDK and NDK are installed. The default paths correspond with the locations debian's package manager installs them after running: apt-get install android-sdk android-sdk-platform-23 google-android-ndk-installer Also the `AVER` variable can be set to something other than 23 to change which android platform version to use. - `make android` to build the apk. - `make install` to install to the connected android device. - `make run` to install and run on the connected android device. - `make stop` to kill the program forcefully. The above are "shortcuts" in the main makefile. The real android makefile is `Makefile.android`. Some operations might have to be performed using that one. For instance to clean and rebuild all libraries: make -f Makefile.android clean-libs make -f Makefile.android libs Or to monitor the android log stream: make -f Makefile.android logcat PC version build ---------------- On UNIX and windows under msys2, just type `make`. No external dependencies are needed, everything is included in the source tree. For msys2 builds, start either a "mingw32 console" or a "mingw64 console", to have the environment set up correctly to build native 32bit or 64bit binaries. Do not start an "msys2 console"; that's for building with the UNIX system call emulation layers linked to the binary (similar to old cygwin). Alternatively msvc2022 project files are included, configured to build for 64bit x86. Warning: msvc project files might be out of date. If you encounter unresolved symbols, make sure to add any new source files to the project.