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:
authorNathan Letwory <nathan@letworyinteractive.com>2011-08-02 14:50:22 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-08-02 14:50:22 +0400
commit7561d10c2e6782965755a04b7b417be52cc16f25 (patch)
tree96615441251fc34df496c8ae0081c1015c26392a /intern/ghost
parent467475590e5c6595fefccd77e028ca611c15863f (diff)
Don't include NDOF files when disabled.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index 1ed8ea9706e..45a1f44d579 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -80,6 +80,17 @@ else:
if env['WITH_BF_3DMOUSE']:
defs.append('WITH_INPUT_NDOF')
+else:
+ sources.remove('intern' + os.sep + 'GHOST_NDOFManager.cpp')
+ try:
+ if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
+ sources.remove('intern' + os.sep + 'GHOST_NDOFManagerWin32.cpp')
+ elif window_system=='darwin':
+ sources.remove('intern' + os.sep + 'GHOST_NDOFManagerCocoa.mm')
+ else:
+ sources.remove('intern' + os.sep + 'GHOST_NDOFManagerX11.mm')
+ except ValueError:
+ pass
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):