2007-09-30 19:39:29 +00:00
|
|
|
# -*- mode: python -*-
|
2012-05-28 00:06:21 +00:00
|
|
|
# GtkRadiant build scripts
|
|
|
|
# TTimo <ttimo@ttimo.net>
|
|
|
|
# http://scons.org/
|
2007-09-30 19:39:29 +00:00
|
|
|
|
|
|
|
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 )
|
2011-03-05 20:06:42 +00:00
|
|
|
env.Append( LIBS = [ 'dl' ] )
|
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
|
|
|
|