Changeset 231
- Timestamp:
- 03/19/08 02:20:06 (4 months ago)
- Files:
-
- GtkRadiant/branches/ZeroRadiant/SConscript.module (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/config.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
GtkRadiant/branches/ZeroRadiant/SConscript.module
r230 r231 15 15 useGtk = False 16 16 useZ = False 17 usePNG = False 17 18 if ( libname == 'image' ): 18 19 useJPEG = True … … 41 42 if ( libname == 'TexTool' ): 42 43 useGtk = True 43 #if ( libname == 'imagepng' ):44 # useZ= True44 if ( libname == 'imagepng' ): 45 usePNG = True 45 46 46 settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ ) 47 48 settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ, usePNG = usePNG ) 47 49 proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) ) 48 50 GtkRadiant/branches/ZeroRadiant/config.py
r230 r231 107 107 'plugins/image/image.vcproj', 108 108 'plugins/model/model.vcproj', 109 # FIXME: Fix linker flags - xml2, z 110 # 'plugins/imagepng/imagepng.vcproj', 109 'plugins/imagepng/imagepng.vcproj', 111 110 'plugins/imagewal/imagewal.vcproj', 112 111 'plugins/imagem8/imagem8.vcproj', … … 184 183 self.emit_q3map2() 185 184 186 def SetupEnvironment( self, env, config, useGtk = False, useGtkGL = False, useJPEG = False, useZ = False ):185 def SetupEnvironment( self, env, config, useGtk = False, useGtkGL = False, useJPEG = False, useZ = False, usePNG = False ): 187 186 env['CC'] = self.cc 188 187 env['CXX'] = self.cxx … … 227 226 if ( useJPEG ): 228 227 env.Append( LIBS = 'jpeg' ) 228 if ( usePNG ): 229 pnglibs = 'png z' 230 env.Append( LIBS = pnglibs.split( ' ' ) ) 229 231 if ( useZ ): 230 232 env.Append( LIBS = 'z' )
