blob: cc912b1ba0c219db8b1fad75dde29551c2e328ba [file] [log] [blame]
#!/bin/bash
cd ../..
./build.sh $@
cd renderer/library
cd build
OPTION=$1
if [ "$OPTION" = 'help' ]
then
echo build.sh - build debug library
echo build.sh clean - clean the build
echo build.sh release - build release library
elif [ "$OPTION" = "clean" ]
then
echo Cleaning project ...
premake5 clean
elif [ "$OPTION" = "release" ]
then
premake5 gmake && make config=release -j7
else
premake5 gmake && make -j7
fi