X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=SConscript.module;h=9de1947184f847adc63a6b9caf7afebbd5f9f936;hb=48410b113dd2036e69dbf723a39ec9af02fc9b12;hp=8229def9e7aa92eeecbe9db5ef961904fda9cf7c;hpb=a06f65b0422c4333f3daba0bb9ef2236e2a06c14;p=xonotic%2Fnetradiant.git diff --git a/SConscript.module b/SConscript.module index 8229def9..9de19471 100644 --- a/SConscript.module +++ b/SConscript.module @@ -11,32 +11,45 @@ Import( [ 'utils', 'config', 'settings', 'project', 'shlib_objects' ] ) libname = os.path.splitext( libname )[0] env = Environment() -useJPEG = False -useGtk = False -if ( libname == 'image' ): - useJPEG = True -if ( libname == 'surface' ): - 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 == 'TexTool' ): - useGtk = True - -settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG ) +# 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' ): +# useGtk = True +# if ( libname == 'bkgrnd2d' ): +# useGtk = True +# if ( libname == 'gtkgensurf' ): +# useGtk = True +# if ( libname == 'bobtoolz' ): +# 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 + +useJPEG = True +useGtk = True +useZ = True +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