]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - SConscript.module
* more translateable strings
[xonotic/netradiant.git] / SConscript.module
index 8229def9e7aa92eeecbe9db5ef961904fda9cf7c..a7f254970dc45fdacb39923219c7db362510c4f7 100644 (file)
@@ -13,10 +13,14 @@ libname = os.path.splitext( libname )[0]
 env = Environment()
 useJPEG = False
 useGtk = False
+useZ = False
+usePNG = False
 if ( libname == 'image' ):
        useJPEG = True
 if ( libname == 'surface' ):
        useGtk = True
+if ( libname == 'surface_ufoai' ):
+       useGtk = True
 if ( libname == 'surface_quake2' ):
        useGtk = True
 if ( libname == 'surface_heretic2' ):
@@ -33,10 +37,15 @@ if ( libname == 'PrtView' ):
        useGtk = True
 if ( libname == 'spritemodel' ):
        useGtk = True
+if ( libname == 'model' ):
+       useGtk = True
 if ( libname == 'TexTool' ):
        useGtk = True
+if ( libname == 'imagepng' ):
+       usePNG = True
+
 
-settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG )
+settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ, usePNG = usePNG )
 proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) )
 
 # some filtering. may need to improve that