Improved the premake4 script.

Now is almost feature complete comparing to the old Makefile.
iOS support is pending, and may be also Android support.
Moved options to "newoption", added libsndfile support and static backend compilation.
This commit is contained in:
Martín Lucas Golini
2012-12-17 17:09:57 -03:00
parent 4d9124b459
commit 266fdb20ea
2 changed files with 147 additions and 47 deletions

View File

@@ -20,8 +20,8 @@ else
BACKEND="GLES1=yes GLES2=yes"
fi
make -j2 -e IOS=yes NO_SNDFILE=yes STATIC_FT2=yes SIMULATOR=yes DEBUGBUILD=no $BACKEND
make -j2 -e IOS=yes STATIC_FT2=yes SIMULATOR=yes DEBUGBUILD=no $BACKEND
make -j2 -e IOS=yes NO_SNDFILE=yes STATIC_FT2=yes SIMULATOR=no DEBUGBUILD=no $BACKEND
make -j2 -e IOS=yes STATIC_FT2=yes SIMULATOR=no DEBUGBUILD=no $BACKEND
lipo -create -arch armv7 ./libs/ios/release/libeepp-armv7.a -arch i386 ./libs/ios/release/libeepp-i386.a -output ./libs/ios/release/libeepp.a