comparison SConstruct @ 576:a21915a97237

Added some debug capability when building with mingw on windows. This should work for you if you have debug versions of python available. Added the show and hide functions to the baseobject in the RPG demo.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 05 Jul 2010 19:36:41 +0000
parents 2aaa22475acd
children
comparison
equal deleted inserted replaced
575:872a7a94563e 576:a21915a97237
103 #************************************************************************** 103 #**************************************************************************
104 #save command line options here 104 #save command line options here
105 #************************************************************************** 105 #**************************************************************************
106 if GetOption('enable-debug'): 106 if GetOption('enable-debug'):
107 debug = 1 107 debug = 1
108 env['FIFE_DEBUG'] = True
108 else: 109 else:
109 debug = 0 110 debug = 0
111 env['FIFE_DEBUG'] = False
110 112
111 if GetOption('disable-opengl'): 113 if GetOption('disable-opengl'):
112 opengl = 0 114 opengl = 0
113 else: 115 else:
114 opengl = 1 116 opengl = 1