mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-09 23:01:55 +00:00
Set the default packs, pull the invocation environment into the scons Environment (for pkg-config)
This commit is contained in:
parent
b6e91568a8
commit
575c090380
7 changed files with 8 additions and 8 deletions
|
@ -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 ) )
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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' ] )
|
||||
|
|
|
@ -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' ] )
|
||||
|
|
|
@ -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' ] )
|
||||
|
|
|
@ -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' ) )
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue