Changeset 181
- Timestamp:
- 11/03/07 10:00:38 (8 months ago)
- Files:
-
- GtkRadiant/branches/ZeroRadiant/config.py (modified) (4 diffs)
- GtkRadiant/branches/ZeroRadiant/libs/jpeg6 (deleted)
- GtkRadiant/branches/ZeroRadiant/libs/radiant_jpeglib.h (deleted)
- GtkRadiant/branches/ZeroRadiant/utils.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
GtkRadiant/branches/ZeroRadiant/config.py
r180 r181 1 import sys, traceback, platform, re, commands 1 import sys, traceback, platform, re, commands, platform 2 2 3 3 if __name__ != '__main__': … … 26 26 self.config_selected = [ 'release' ] 27 27 # those are global to each config 28 self.cc = 'gcc-4.1' 29 self.cxx = 'g++-4.1' 28 self.platform = platform.system() 29 if ( self.platform == 'Darwin' ): 30 self.cc = 'gcc' 31 self.cxx = 'g++' 32 else: 33 self.cc = 'gcc-4.1' 34 self.cxx = 'g++-4.1' 30 35 31 36 def __repr__( self ): … … 109 114 baseflags = [ '-pipe', '-Wall', '-fmessage-length=0', '-fvisibility=hidden', xml2.split( ' ' ) ] 110 115 # baseflags += [ '-m32' ] 116 117 if ( self.platform == 'Darwin' ): 118 env.Append( CPPPATH = [ '/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include' ] ) 119 111 120 if ( useGtk ): 112 121 ( ret, gtk2 ) = commands.getstatusoutput( 'pkg-config gtk+-2.0 --cflags' ) … … 126 135 gliblibs = commands.getoutput( 'pkg-config glib-2.0 --libs' ) 127 136 env.Append( LINKFLAGS = gliblibs.split( ' ' ) ) 137 128 138 if ( useGtkGL ): 129 139 ( ret, gtkgl ) = commands.getstatusoutput( 'pkg-config gtkglext-1.0 --cflags' ) GtkRadiant/branches/ZeroRadiant/utils.py
r179 r181 4 4 # http://scons.sourceforge.net 5 5 6 import os, commands, platform, xml.sax, re, string 6 import os, commands, platform, xml.sax, re, string, platform 7 7 8 8 class vcproj( xml.sax.handler.ContentHandler ): … … 47 47 # setup as an AddPostAction of a regular SharedLibrary call 48 48 def CheckUnresolved( source, target, env ): 49 # TODO: implement this for OSX 50 if ( platform.system() == 'Darwin' ): 51 return None 49 52 print 'CheckUnresolved %s' % target[0].abspath 50 53 if ( not os.path.isfile( target[0].abspath ) ):
