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.

24 lines
910 B

echo "Building Bullet3..."
./ || exit 1
echo "Finished building Bullet3!"
echo "Building Base2.0 (and by extension, SFML)..."
# TODO: Fix this foolishness
cd Dependencies/base2.0
./ || 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 Dependencies/Horde3D
mkdir -p 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": 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!"