mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-14 00:11:09 +00:00
b0978b99ca
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@480 8a3a26a2-13c4-0310-b231-cf6edde360e5
19 lines
623 B
Python
19 lines
623 B
Python
# -*- mode: python -*-
|
|
# ZeroRadiant build scripts
|
|
# TTimo <ttimo@idsoftware.com>
|
|
# http://scons.sourceforge.net
|
|
|
|
import os
|
|
|
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
|
|
|
env = Environment()
|
|
settings.SetupEnvironment( env, config['name'] )
|
|
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
|
|
env.Append( LIBS = [ 'm', 'pthread', 'png', 'jpeg' ] )
|
|
proj = utils.vcproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3map2/q3map2.vcproj' ) )
|
|
objects = lib_objects
|
|
objects += [ os.path.join( 'tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ]
|
|
q3map2 = env.Program( 'q3map2', objects )
|
|
|
|
Return( 'q3map2' )
|