AMBuildScript
changeset 3890 720531f08850
parent 3862 4b9339a824a1
child 3912 b06c6b3eec00
     1.1 --- a/AMBuildScript	Thu Apr 11 00:33:12 2013 +0100
     1.2 +++ b/AMBuildScript	Thu Apr 11 00:34:52 2013 +0100
     1.3 @@ -12,6 +12,9 @@
     1.4  		self.outfile = outfile
     1.5  
     1.6  	def run(self, runner, job):
     1.7 +		if AMBuild.cache['debug']:
     1.8 +			return
     1.9 +
    1.10  		if not self.binary.NeedsRelink(self.outfile):
    1.11  			return
    1.12  
    1.13 @@ -77,6 +80,8 @@
    1.14  			
    1.15  			self.hasMySql = AMBuild.options.hasMySql
    1.16  			AMBuild.cache.CacheVariable('hasMySql', self.hasMySql)
    1.17 +
    1.18 +			AMBuild.cache.CacheVariable('debug', AMBuild.options.debug)
    1.19  			
    1.20  			#Environment variable paths to external headers
    1.21  			envvars = { 'MMSOURCE19': 'mmsource-1.9', 'MYSQL5': 'mysql-5.0' }