add if gltest on some run away files

Thanks shuffle!


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1832 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-01-09 00:35:06 +00:00
parent 4916bf54b6
commit 89603a91a6
1 changed files with 15 additions and 13 deletions

View File

@ -98,19 +98,21 @@ conf.Define('HAVE_XXF86VM', gfxenv['HAVE_XXF86VM'])
conf.Finish()
if gfxenv['HAVE_XXF86VM']:
files += [
'X11Window.cpp',
]
if gfxenv['HAVE_SDL']:
files += [
'SDLWindow.cpp',
]
if gfxenv['USE_WX']:
files += [
'WXGLWindow.cpp',
]
if gfxenv['GLTEST']:
if gfxenv['HAVE_XXF86VM']:
files += [
'X11Window.cpp',
]
if gfxenv['HAVE_SDL']:
files += [
'SDLWindow.cpp',
]
if gfxenv['USE_WX']:
files += [
'WXGLWindow.cpp',
]
# Sanity check
if gfxenv['USE_WX'] and not gfxenv['HAVE_WX']:
print "Must have wx to use wxgl"