File: ios.sh

package info (click to toggle)
caveexpress 2.5.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 42,288 kB
  • sloc: cpp: 63,815; ansic: 1,135; sh: 501; xml: 186; python: 74; makefile: 60; javascript: 22
file content (14 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e
set -x

DIR=$(cd $(dirname $0); pwd)
cd $DIR/../../..
mkdir -p cp-build-ios
cd cp-build-ios
BINDIR=$(pwd)

/Applications/CMake.app/Contents/bin/cmake -DCMAKE_INSTALL_PREFIX=${BINDIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$DIR/../../cmake/toolchains/ios-toolchain.cmake -GXcode $DIR/../..

xcodebuild build -target install -project caveproductions.xcodeproj -configuration Release