mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
b5dfbd485f
see https://github.com/TTimo/GtkRadiant/pull/686 for details
23 lines
747 B
Python
23 lines
747 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'] )
|
|
env.Prepend( CPPPATH = [ '#tools/quake3/common' ] )
|
|
if platform.system() == "NetBSD":
|
|
env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png16' ] )
|
|
else:
|
|
env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png' ] )
|
|
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' )
|