2007-09-30 19:39:29 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
# ZeroRadiant build scripts
|
|
|
|
# TTimo <ttimo@idsoftware.com>
|
|
|
|
# http://scons.sourceforge.net
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
|
|
|
|
|
|
|
env = Environment()
|
2008-01-02 04:47:59 +00:00
|
|
|
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
|
2007-09-30 19:39:29 +00:00
|
|
|
proj = utils.vcproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcproj' ) )
|
|
|
|
|
2007-10-24 04:00:48 +00:00
|
|
|
radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] )
|
|
|
|
|
|
|
|
Return( 'radiant' )
|
|
|
|
|
2007-09-30 19:39:29 +00:00
|
|
|
|