holdingarea/full_build.sh
author Gareth Stockwell <gareth.stockwell@accenture.com>
Fri, 24 Sep 2010 11:24:53 +0100
branchbug235_bringup_0
changeset 34 dab1d38bc12e
parent 20 d2d6724aef32
permissions -rw-r--r--
Added build script allowing use of different toolchains holdingarea/build.bat provides command-line switches allowing: * Selection between Visual Studio versions (2005 / 2008) * Selection of debug / release builds * Selection of CMake generator (Visual Studio solution / NMake makefiles) * Enabling of miniEGL in the build * Enabling of PlatSim extensions in the build Calling the script with no parameters will start a build using Visual Studio 2005 and nmake.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     1
#! /bin/bash
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     2
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     3
set -e
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     4
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     5
EGL_CONFIG=-DUSE_MINI_EGL:Bool=ON
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     6
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     7
mkdir -p x86Debug; cd x86Debug; cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=Debug && make; cd ..
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     8
#mkdir -p x86Release && cd x86Release && cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=Release && make && cd ..
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
     9
# Profiling build is the same as release (optimizations, etc.), but with debug symbols
d2d6724aef32 Initial contribution of Khronos API implmentations suitable for simulator host-side.
Matt Plumtree <matt.plumtree@nokia.com>
parents:
diff changeset
    10
#mkdir -p x86Profile && cd x86Profile && cmake .. $EGL_CONFIG -DCMAKE_BUILD_TYPE=RelWithDebInfo && make && cd ..