2012-10-07 16:52:47 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
# GtkRadiant build scripts
|
|
|
|
# TTimo <ttimo@ttimo.net>
|
|
|
|
# http://scons.org/
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
Import( [ 'utils', 'config', 'settings', 'lib_objects' ] )
|
|
|
|
|
2013-03-30 14:24:40 +00:00
|
|
|
env = Environment( ENV = os.environ )
|
2012-10-07 16:52:47 +00:00
|
|
|
settings.SetupEnvironment( env, config['name'] )
|
|
|
|
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
|
|
|
|
env.Append( LIBS = [ 'm', 'pthread' ] )
|
2017-01-01 15:07:33 +00:00
|
|
|
proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3data/q3data.vcxproj' ) )
|
2012-10-07 16:52:47 +00:00
|
|
|
objects = lib_objects
|
|
|
|
objects += [ os.path.join( 'tools/quake3/q3data', i ) for i in proj.getSourceFiles() ]
|
|
|
|
q3data = env.Program( 'q3data', objects )
|
|
|
|
|
|
|
|
Return( 'q3data' )
|