mjansson / foundation_lib

Cross-platform public domain foundation library in C providing basic support data types and functions to write applications and games in a platform-independent fashion.
The Unlicense
301 stars 23 forks source link

build ? #16

Closed alex1491163117 closed 6 years ago

alex1491163117 commented 6 years ago

How to build, can you give a template?thanks

mjansson commented 6 years ago

In the build directory you'll find projects for Visual Studio and XCode. Or install ninja, run the configure script and run ninja. Output libfaries will be put in lib, binaries in bin.

alex1491163117 commented 6 years ago

ninja_required_version = 1.3

configure.py arguments

configure_args = --target=android --host=macosx --toolchain=gcc $ --config=debug --arch=arm7 --monolithic --coverage

configure options

configure_target = android configure_host = macosx configure_toolchain = gcc configure_archs = arm7 configure_configs = debug

buildpath = build/ninja/android target = android config = ndk = /opt/android-ndk-r16 sdk = /opt/android-osx-sdk sysroot = /opt/android-ndk-r16/sysroot