mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-24 04:41:34 +00:00
19 lines
541 B
Python
19 lines
541 B
Python
# -*- mode: python -*-
|
|
# GtkRadiant build scripts
|
|
# TTimo <ttimo@ttimo.net>
|
|
# http://scons.org/
|
|
|
|
import os
|
|
|
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
|
|
|
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' ) )
|
|
|
|
radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] )
|
|
|
|
Return( 'radiant' )
|
|
|
|
|