diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-07 20:54:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-07 20:54:40 +0400 |
commit | 577293569a0e7ba8fdb0411401c86fc1bd5dcbde (patch) | |
tree | 569b0e1bcdd1b8b850a2d83efc230ec0eb33c4e8 /SConstruct | |
parent | 479c203dad2868da012bff884dade573d6254993 (diff) |
scons patch from jensverwiebe
fix a silly bug in version detection, - added an OSX sdk-check
jensverwiebe, needs to get commit access!, but will apply his patches for now.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index b422892680d..b35f3fdbf7b 100644 --- a/SConstruct +++ b/SConstruct @@ -253,8 +253,15 @@ if 'blenderlite' in B.targets: if k not in B.arguments: env[k] = v -# detect presence of 3D_CONNEXION_CLIENT_LIBRARY for OSX +# Extended OSX_SDK and 3D_CONNEXION_CLIENT_LIBRARY detection for OSX if env['OURPLATFORM']=='darwin': + print B.bc.OKGREEN + "Detected Xcode version: -- " + B.bc.ENDC + env['XCODE_CUR_VER'][:9] + " --" + print "Available " + env['MACOSX_SDK_CHECK'] + if not 'Mac OS X 10.5' in env['MACOSX_SDK_CHECK']: + print B.bc.OKGREEN + "MacOSX10.5.sdk not available:" + B.bc.ENDC + " using MacOSX10.6.sdk" + else: + print B.bc.OKGREEN + "Found recommended sdk :" + B.bc.ENDC + " using MacOSX10.5.sdk" + # for now, Mac builders must download and install the driver framework from 3Dconnexion # necessary header file lives here when installed: # /Library/Frameworks/3DconnexionClient.framework/Versions/Current/Headers/ConnexionClientAPI.h |