From 4cec67557dfaa31313b31f8250b2f7506f8b3f0e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 7 Jun 2012 14:26:05 +1000 Subject: Initial version of build checker script. --- cocoa/checkbuildosx.sh | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100755 cocoa/checkbuildosx.sh (limited to 'cocoa') diff --git a/cocoa/checkbuildosx.sh b/cocoa/checkbuildosx.sh new file mode 100755 index 000000000..f6b56328a --- /dev/null +++ b/cocoa/checkbuildosx.sh @@ -0,0 +1,75 @@ +# Script to build Scintilla for OS X with most supported build files. +# Current directory should be scintilla/cocoa before running. + +cd ../.. + +# ************************************************************ +# Target 1: build framework and test app with Xcode targetting OS X 10.7 +# Clean both then build both -- if perform clean in ScintillaTest, also cleans ScintillaFramework +# which can cause double build +cd scintilla/cocoa/ScintillaFramework +xcodebuild clean +cd ../ScintillaTest +xcodebuild clean +cd ../ScintillaFramework +xcodebuild -sdk macosx10.7 +cd ../ScintillaTest +xcodebuild -sdk macosx10.7 +cd ../../.. + +# ************************************************************ +# Target 2: build framework and test app with Xcode targetting OS X 10.6 +cd scintilla/cocoa/ScintillaFramework +xcodebuild clean +cd ../ScintillaTest +xcodebuild clean +cd ../ScintillaFramework +xcodebuild -sdk macosx10.6 +cd ../ScintillaTest +xcodebuild -sdk macosx10.6 +cd ../../.. + +# ************************************************************ +# Target 3: build framework and test app with Xcode targetting OS X 10.5 +cd scintilla/cocoa/ScintillaFramework +xcodebuild clean +cd ../ScintillaTest +xcodebuild clean +cd ../ScintillaFramework +xcodebuild -sdk macosx10.5 +cd ../ScintillaTest +xcodebuild -sdk macosx10.5 +cd ../../.. + +# ************************************************************ +# Target 4: Qt builds +# Requires Qt development libraries and qmake to be installed +cd scintilla/qt +cd ScintillaEditBase +qmake +xcodebuild clean +xcodebuild +cd .. + +cd ScintillaEdit +python WidgetGen.py +qmake +xcodebuild clean +xcodebuild +cd .. + +cd ScintillaEditPy +python sepbuild.py +cd .. +cd ../.. + +# ************************************************************ +# Target 5: build framework and test app with make +cd scintilla/cocoa + +make -f Framework.mk clean +make -f Framework.mk all + +make -f SciTest.mk all + +cd ../.. -- cgit v1.2.3