add q3map2 build to scons
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@193 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
20
SConscript.q3map2
Normal file
20
SConscript.q3map2
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- 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 = [ '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() ]
|
||||
objects.append( 'tools/quake3/common/jpeg.c' )
|
||||
q3map2 = env.Program( 'q3map2.bin', objects )
|
||||
|
||||
Return( 'q3map2' )
|
||||
Reference in New Issue
Block a user