mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-14 00:41:08 +00:00
19 lines
626 B
Python
19 lines
626 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'] )
|
|
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
|
|
env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )
|
|
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3map2/q3map2.vcxproj' ) )
|
|
objects = lib_objects
|
|
objects += [ os.path.join( 'tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ]
|
|
q3map2 = env.Program( 'q3map2', objects )
|
|
|
|
Return( 'q3map2' )
|