mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-12-04 01:51:16 +00:00
b5dfbd485f
see https://github.com/TTimo/GtkRadiant/pull/686 for details
21 lines
626 B
Python
21 lines
626 B
Python
# -*- mode: python -*-
|
|
# GtkRadiant build scripts
|
|
# TTimo <ttimo@ttimo.net>
|
|
# http://scons.org/
|
|
|
|
import os
|
|
import platform
|
|
|
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
|
|
|
env = Environment( ENV = os.environ )
|
|
settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True )
|
|
|
|
if ( platform.system() not in ['FreeBSD', 'OpenBSD', 'NetBSD'] ):
|
|
env.Append( LIBS = [ 'dl' ] )
|
|
|
|
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcxproj' ) )
|
|
|
|
radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] )
|
|
|
|
Return( 'radiant' )
|