Set the default packs, pull the invocation environment into the scons Environment (for pkg-config)

This commit is contained in:
Timothee Besset 2013-03-30 09:24:40 -05:00
parent b6e91568a8
commit 575c090380
7 changed files with 8 additions and 8 deletions

View file

@ -10,7 +10,7 @@ Import( [ 'utils', 'config', 'settings', 'project' ] )
( libpath, libname ) = os.path.split( project )
libname = os.path.splitext( libname )[0]
env = Environment()
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config['name'] )
proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) )

View file

@ -10,7 +10,7 @@ Import( [ 'utils', 'config', 'settings', 'project', 'shlib_objects' ] )
( libpath, libname ) = os.path.split( project )
libname = os.path.splitext( libname )[0]
env = Environment()
env = Environment( ENV = os.environ )
useJPEG = True
useGtk = True

View file

@ -7,7 +7,7 @@ import os
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
env = Environment()
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config['name'] )
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
env.Append( LIBS = [ 'm', 'pthread' ] )

View file

@ -7,7 +7,7 @@ import os
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
env = Environment()
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config['name'] )
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )

View file

@ -7,7 +7,7 @@ import os
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
env = Environment()
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config['name'] )
env.Prepend( CPPPATH = [ '#tools/quake3/common', ] )
env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )

View file

@ -7,7 +7,7 @@ import os
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
env = Environment()
env = Environment( ENV = os.environ )
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
env.Append( LIBS = [ 'dl' ] )
proj = utils.vcproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcproj' ) )

View file

@ -25,8 +25,8 @@ class Config:
# platforms for which to assemble a setup
self.setup_platforms = [ 'local', 'x86', 'x64', 'win32' ]
# paks to assemble in the setup (only the Enemy Territory one by default)
self.setup_packs = [ 'ETPack' ] # [ 'Q3Pack', 'UrTPack', 'ETPack', 'QLPack' ]
# paks to assemble in the setup
self.setup_packs = [ 'Q3Pack', 'UrTPack', 'ETPack', 'QLPack' ]
def __repr__( self ):
return 'config: target=%s config=%s' % ( self.target_selected, self.config_selected )