Files
rive-cpp/skia/font_converter/build.sh
2022-02-18 10:24:57 +00:00

20 lines
499 B
Bash
Executable File

#!/bin/bash
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 ...
# TODO: fix premake5 clean to bubble the clean command to dependent projects
premake5 gmake && make clean
elif [ "$OPTION" = "release" ]; then
premake5 gmake && make config=release -j7
else
premake5 gmake && make -j7
fi