Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 18 lines (13 sloc) 0.348 kb
69fcfe0 Richard Bateman - Created prep scripts for mac and linux
taxilian authored
1 #!/bin/bash
2
3 GEN='Xcode'
4
db76dd4 Richard Bateman Fixed issue #88, spaces in the path breaking building
taxilian authored
5 source "${0%/*}/common.sh" "$@"
68cd199 Richard Bateman - XCode plugin projects now get automatically patched to the correct typ...
taxilian authored
6
43e46bd Christian Hofstaedtler FIREBREATH-153 Make prepmac.sh honor CMAKE_OSX_ARCHITECTURES from env
zeha authored
7 ARCH=-DCMAKE_OSX_ARCHITECTURES="${CMAKE_OSX_ARCHITECTURES:-i386;x86_64}"
fda2363 prepmac.sh: produce fat binary with i386 + x86_64 by default
Kalev Lember authored
8
a07d583 invoke cmake directly instead of going through genproject.cmake wrapper
Kalev Lember authored
9 pushd "$BUILDDIR"
3d87793 Richard Bateman Building on Mac with cmake refactor now
taxilian authored
10 cmake -G "$GEN" -DFB_PROJECTS_DIR="${PROJDIR}" ${ARCH} "$@" "${FB_ROOT}"
13000c1 Richard Bateman Updated build scripts to give better error messages in case of missing d...
taxilian authored
11 if [ "$?" -ne 0 ]; then
12 echo "CMake failed. Please check error messages"
13 popd > /dev/null
14 exit
15 else
16 popd
68cd199 Richard Bateman - XCode plugin projects now get automatically patched to the correct typ...
taxilian authored
17 fi
Something went wrong with that request. Please try again.