3 # this script checks out the current revision of the oonf.git repository and builds nine variants of the source
7 echo "build CMAKE_BUILD_TYPE=${1} OONF_LOGGING_LEVEL=${2}"
10 cmake >/dev/null -D CMAKE_BUILD_TYPE:String=${1} -D OONF_LOGGING_LEVEL:String=${2} ..
15 if [ ! -d "oonf" ]; then
16 # Clone git repository
17 git clone git://olsr.org/oonf.git
20 # cleanup source directory
27 # build all useful variants of OONF
28 build_oonf Debug debug
31 build_oonf Release debug
32 build_oonf Release info
33 build_oonf Release warn
34 build_oonf MinSizeRel debug
35 build_oonf MinSizeRel info
36 build_oonf MinSizeRel warn