|
|
@ -1,18 +1,24 @@ |
|
|
|
#!/bin/sh |
|
|
|
echo Building Bullet3... |
|
|
|
./BuildBullet_Debug.sh |
|
|
|
echo Finished building Bullet3! |
|
|
|
echo "Building Bullet3..." |
|
|
|
./BuildBullet_Debug.sh || exit 1 |
|
|
|
echo "Finished building Bullet3!" |
|
|
|
|
|
|
|
echo |
|
|
|
echo Building Base2.0... |
|
|
|
echo "Building Base2.0 (and by extension, SFML)..." |
|
|
|
# TODO: Fix this foolishness |
|
|
|
# TODO: Add debug build |
|
|
|
cd Dependencies/base2.0 && ls && ./BuildDependencies_Debug.sh \ |
|
|
|
&& jam -j4 -sDEBUG_BUILD=true && jam -j4 -sDEBUG_BUILD=true libBase20 |
|
|
|
echo Finished building Base2.0! |
|
|
|
cd Dependencies/base2.0 |
|
|
|
./BuildDependencies_Debug.sh || exit 1 |
|
|
|
jam -j4 -sDEBUG_BUILD=true && jam -j4 -sDEBUG_BUILD=true libBase20 || exit 1 |
|
|
|
cd ../../ |
|
|
|
echo "Finished building Base2.0!" |
|
|
|
|
|
|
|
echo Building Horde3D... |
|
|
|
cd ../Horde3D && mkdir build && cd build \ |
|
|
|
&& cmake .. -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-std=c++14 -stdlib=libstdc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libstdc++" -DOpenGL_GL_PREFERENCE="LEGACY" \ |
|
|
|
&& make # Note that -j4 etc. will break Horde make! |
|
|
|
echo Finished building Horde3D! |
|
|
|
echo "Building Horde3D..." |
|
|
|
cd Dependencies/Horde3D |
|
|
|
mkdir build && cd build |
|
|
|
cmake .. -DCMAKE_BUILD_TYPE="Debug" \ |
|
|
|
-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-std=c++14 -stdlib=libstdc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libstdc++" \ |
|
|
|
-DOpenGL_GL_PREFERENCE="LEGACY" || exit 1 |
|
|
|
# DOpenGL_GL_PREFERENCE="LEGACY": I am not sure what the implications of this are |
|
|
|
# Note that -j4 etc. will break Horde make, because it doesn't like out of order execution! |
|
|
|
make || exit 1 |
|
|
|
cd ../../ |
|
|
|
echo "Finished building Horde3D!" |