Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2011-06-09 01:18:03 +0400
committerMike Erwin <significant.bit@gmail.com>2011-06-09 01:18:03 +0400
commite75ff53452d6c989e2846521f5d00523bc90906a (patch)
tree869f0b62410d6efe24a9900dda0b84796b3cec12 /build_files/scons/config
parente2e0bc2c444dfa333d7c5c174a851c271fcd4732 (diff)
parent6132f8c4b49991ad7c60e15bfda6360a95a234aa (diff)
migrated NDOF code from soc-2010-merwin, SpaceNavigator now works on Mac blender
Diffstat (limited to 'build_files/scons/config')
-rw-r--r--build_files/scons/config/darwin-config.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py
index 0c51476a6d0..231525993e1 100644
--- a/build_files/scons/config/darwin-config.py
+++ b/build_files/scons/config/darwin-config.py
@@ -264,7 +264,9 @@ if MACOSX_ARCHITECTURE == 'i386':
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse']
elif MACOSX_ARCHITECTURE == 'x86_64':
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-msse2']
-
+
+# SpaceNavigator and related 3D mice
+WITH_BF_SPACENAV = True
#############################################################################
################### various compile settings and flags ##################
@@ -294,6 +296,10 @@ if WITH_BF_QUICKTIME == True:
else:
PLATFORM_LINKFLAGS = PLATFORM_LINKFLAGS+['-framework','QuickTime']
+if WITH_BF_SPACENAV:
+ PLATFORM_LINKFLAGS = PLATFORM_LINKFLAGS + ['-weak_framework','3DconnexionClient']
+ CXXFLAGS = CXXFLAGS + ['-fpascal-strings'] # they use an old-skool Mac programming style
+
#note to build succesfully on 10.3.9 SDK you need to patch 10.3.9 by adding the SystemStubs.a lib from 10.4
LLIBS = ['stdc++', 'SystemStubs']