Initial script to checkout+build the Mac launcher

This commit is contained in:
James Turner 2011-01-17 23:58:24 +00:00
parent 61599e47c8
commit 38067ca306

15
hudson_mac_build_launcher.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
SDK_PATH="/Developer/SDKs/MacOSX10.5.sdk"
OSX_TARGET="10.5"
svn co https://macflightgear.svn.sourceforge.net/svnroot/macflightgear/trunk/FlightGearOSX macflightgear
pushd macflightgear
# compile the stub executable
gcc -o FlightGear -mmacosx-version-min=$OSX_TARGET -isysroot $SDK_PATH -arch i386 main.m \
-framework Cocoa -framework RubyCocoa -framework Foundation -framework AppKit
popd