Files
rive-cpp/build.sh
2020-08-16 18:20:11 -07:00

24 lines
437 B
Bash
Executable File

#!/bin/bash
pushd build &>/dev/null
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 gmake2 && make config=release -j7
else
premake5 gmake2 && make -j7
fi
popd &>/dev/null