Vehicle simulation game
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
800 B

#!/bin/sh
echo Building Bullet3...
./BuildBullet.sh || exit 1
echo Finished building Bullet3!
echo Building Base2.0...
# TODO: Fix this foolishness
cd Dependencies/base2.0
./BuildDependencies_Release.sh || exit 1
jam -j4 && jam -j4 libBase20 || exit 1
cd ../../
echo Finished building Base2.0!
echo Building Horde3D...
cd Dependencies/Horde3D
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_CXX_FLAGS="-std=c++14 -stdlib=libstdc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libstdc++" || exit 1
# I am not sure what the implications of this are
# -DOpenGL_GL_PREFERENCE="LEGACY" \
# 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!