holdingarea/full_build.sh
author Matt Plumtree <matt.plumtree@nokia.com>
Mon, 01 Nov 2010 18:11:59 +0000
branchbug235_bringup_0
changeset 70 08233365fef6
parent 20 d2d6724aef32
permissions -rw-r--r--
Add /clean to build.bat to delete the build directory and its contents before building.

#! /bin/bash

set -e

EGL_CONFIG=-DUSE_MINI_EGL:Bool=ON

mkdir -p x86Debug; cd x86Debug; cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=Debug && make; cd ..
#mkdir -p x86Release && cd x86Release && cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=Release && make && cd ..
# Profiling build is the same as release (optimizations, etc.), but with debug symbols
#mkdir -p x86Profile && cd x86Profile && cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=RelWithDebInfo && make && cd ..