example: add user interaction sample(animation speed).
[platform/core/uifw/rive-tizen.git] / submodule / build.sh
1 #!/bin/bash
2
3 pushd build &>/dev/null
4
5 OPTION=$1
6
7 if [ "$OPTION" = 'help' ]
8 then
9     echo build.sh - build debug library
10     echo build.sh clean - clean the build
11     echo build.sh release - build release library 
12 elif [ "$OPTION" = "clean" ]
13 then
14     echo Cleaning project ...
15     premake5 gmake2 && make clean && make clean config=release
16
17 elif [ "$OPTION" = "release" ]
18 then
19     premake5 gmake2 && make config=release -j7
20 else
21     premake5 gmake2 && make -j7
22 fi
23
24 popd &>/dev/null