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>2006-02-05 20:14:52 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-05 20:14:52 +0300
commit04d44ee31189600e56575472ca31dd71fcc8ab66 (patch)
tree6669eae4af1f21db0a75f11a167ec9dd3c37c36b /intern/ghost
parent1d6a2adc0ecdc3c0651142158be3fbf5f60e1091 (diff)
+ add check for cygwin to continue parsing of SCons scripts
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/SConscript26
1 files changed, 13 insertions, 13 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index 6009b14767f..bc050e69451 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -4,27 +4,27 @@ import os
Import ('env')
-window_system = sys.platform
+window_system = env['OURPLATFORM']
sources = env.Glob('intern/*.cpp')
pf = ['GHOST_DisplayManager', 'GHOST_System', 'GHOST_Window']
if window_system == 'linux2':
- for f in pf:
- sources.remove('intern' + os.sep + f + 'Win32.cpp')
- sources.remove('intern' + os.sep + f + 'Carbon.cpp')
-elif window_system == 'win32':
- for f in pf:
- sources.remove('intern' + os.sep + f + 'X11.cpp')
- sources.remove('intern' + os.sep + f + 'Carbon.cpp')
+ for f in pf:
+ sources.remove('intern' + os.sep + f + 'Win32.cpp')
+ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
+elif window_system in ('win32-vc', 'win32-mingw', 'cygwin'):
+ for f in pf:
+ sources.remove('intern' + os.sep + f + 'X11.cpp')
+ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
elif window_system == 'darwin':
- for f in pf:
- sources.remove('intern' + os.sep + f + 'Win32.cpp')
- sources.remove('intern' + os.sep + f + 'X11.cpp')
+ for f in pf:
+ sources.remove('intern' + os.sep + f + 'Win32.cpp')
+ sources.remove('intern' + os.sep + f + 'X11.cpp')
else:
- print "Unknown window system specified."
- Exit()
+ print "Unknown window system specified."
+ Exit()
incs = '. ../string ' + env['BF_OPENGL_INC']
env.BlenderLib ('blender_GHOST', sources, Split(incs), [], libtype='core', priority = 25 )