Neil Hodgson
unread,Jun 7, 2012, 12:49:08 AM6/7/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scintilla...@googlegroups.com
Similar to the checkbuildlinux.sh script for checking that builds work on Linux, there is now a script for OS X: scintilla/cocoa/checkbuildosx.sh.
This script checks that the Scintilla framework and the test app build with Xcode with different OS X SDKs: 10.5, 10.6, and 10.7. Each build is performed for both 32 and 64 bit architectures but not for PowerPC. It also builds each of the Qt targets and using the make files in the cocoa directory.
For many installations, only a subset of the tests will run, mainly due to the diversity of versions deployed and the difficulty in having multiple versions installed together. The script will only be a starting point for many developers who will need to disable sections of the script that are not applicable to or usable by them.
Apple really only supports building for 10.6 and 10.7 with the current Xcode release and splicing the 10.5 installation in can result in other failures. Qt also has its share of versioning issues with 4.7 and 4.8 currently common and sometimes installed as frameworks and other times not as frameworks but more like other Unix systems.
Some minor changes were made to the source code and build files to allow the script to run smoothly. APIs that are not available on 10.5 (code for animations and pinch-zoom) are now protected by #if statements. The project file for the test app uses clang instead of gcc as this allowed compilation for 10.5 using current Xcode.
Neil