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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-13 10:04:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-13 10:04:54 +0400
commit44e45e54c51e2f54c89b173e8844a99ce7f5de75 (patch)
tree783c5cfff30003194857f5ae061fb1eb27f41c1e /intern/ghost/SConscript
parent0fc6aac3dc133c2a06aa44866b9d45abb7d54b45 (diff)
- don't build ghost's event printer unless ghost debug is enabled.
- use char rather then STR_String for the event printer. - added option to build WITH_GHOST_DEBUG for cmake - renamed WITH_SDL_GHOST --> WITH_GHOST_SDL
Diffstat (limited to 'intern/ghost/SConscript')
-rw-r--r--intern/ghost/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/ghost/SConscript b/intern/ghost/SConscript
index ccfaa4814bc..c65ec58a97b 100644
--- a/intern/ghost/SConscript
+++ b/intern/ghost/SConscript
@@ -25,6 +25,7 @@ if env['WITH_GHOST_SDL']:
except ValueError:
pass
incs += ' ' + env['BF_SDL_INC']
+ defs += ['WITH_GHOST_SDL']
elif window_system in ('linux2', 'openbsd3', 'sunos5', 'freebsd7', 'freebsd8', 'freebsd9', 'irix6', 'aix4', 'aix5'):
for f in pf:
try:
@@ -73,7 +74,9 @@ else:
Exit()
if env['BF_GHOST_DEBUG']:
- defs.append('BF_GHOST_DEBUG')
+ defs.append('WITH_GHOST_DEBUG')
+else:
+ sources.remove('intern' + os.sep + 'GHOST_EventPrinter.cpp')
if window_system in ('win32-vc', 'win32-mingw', 'cygwin', 'linuxcross', 'win64-vc'):
incs = env['BF_WINTAB_INC'] + ' ' + incs