Tries to fix SDL and Qt builds, introduces Emscripten in Travis.

This commit is contained in:
xawotihs
2016-06-19 10:25:22 +02:00
parent e4e809f3fe
commit 0a01b0af69
4 changed files with 18 additions and 1 deletions

View File

@@ -51,6 +51,15 @@ if [ "$BUILD_TYPE" = "ANDROID" ]; then
cd ..
fi
# we're building an Emscripten HTML here
if [ "$BUILD_TYPE" = "Emscripten" ]; then
mkdir build_emscripten
cd build_emscripten
emcmake cmake -DCMAKE_BUILD_TYPE=Release ..
emmake make -j4
cd ..
fi
# we're building a Qt version with GUI here
if [ "$BUILD_TYPE" = "Qt" ]; then
mkdir build_qt_widget