X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=SConscript.module;h=a7f254970dc45fdacb39923219c7db362510c4f7;hb=8b8394c1c5d2d829a5026bd89cda79822524d04a;hp=46309c814bf7e7da49d47a8808824948daa99316;hpb=e66458ec9c0b4416b404c56a4cc358c619c0a131;p=xonotic%2Fnetradiant.git diff --git a/SConscript.module b/SConscript.module index 46309c81..a7f25497 100644 --- a/SConscript.module +++ b/SConscript.module @@ -13,11 +13,39 @@ 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 -settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG ) +if ( libname == 'surface_ufoai' ): + useGtk = True +if ( libname == 'surface_quake2' ): + useGtk = True +if ( libname == 'surface_heretic2' ): + useGtk = True +if ( libname == 'bkgrnd2d' ): + useGtk = True +if ( libname == 'gtkgensurf' ): + useGtk = True +if ( libname == 'bobToolz_gtk' ): + useGtk = True +if ( libname == 'camera' ): + useGtk = True +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, useZ = useZ, usePNG = usePNG ) proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) ) # some filtering. may need to improve that