compiles on OSX (10.4.10 Intel)

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@181 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
TTimo
2007-11-03 15:00:38 +00:00
parent 4189d27b34
commit 287cde2548
38 changed files with 17 additions and 18416 deletions

View File

@@ -3,7 +3,7 @@
# TTimo <ttimo@idsoftware.com>
# http://scons.sourceforge.net
import os, commands, platform, xml.sax, re, string
import os, commands, platform, xml.sax, re, string, platform
class vcproj( xml.sax.handler.ContentHandler ):
def __init__( self, filepath ):
@@ -46,6 +46,9 @@ class vcproj( xml.sax.handler.ContentHandler ):
# action uses LDD to verify that the source doesn't hold unresolved symbols
# setup as an AddPostAction of a regular SharedLibrary call
def CheckUnresolved( source, target, env ):
# TODO: implement this for OSX
if ( platform.system() == 'Darwin' ):
return None
print 'CheckUnresolved %s' % target[0].abspath
if ( not os.path.isfile( target[0].abspath ) ):
print 'CheckUnresolved: %s does not exist' % target[0]