AMBuildScript
changeset 2819 e392dfaf2c41
parent 2815 2c7137f077fe
child 2820 c2fc1eff9f51
     1.1 --- a/AMBuildScript	Fri Oct 02 05:08:14 2009 -0700
     1.2 +++ b/AMBuildScript	Sun Oct 04 00:52:53 2009 -0500
     1.3 @@ -153,7 +153,8 @@
     1.4  			self.targetMap = AMBuild.cache['targetMap']
     1.5  
     1.6  		if AMBuild.target['platform'] == 'windows':
     1.7 -			self.compiler.AddToListVar('RCINCLUDES', os.path.join(AMBuild.sourceFolder, 'public'))
     1.8 +			self.compiler.AddToListVar('RCINCLUDES',
     1.9 +			                           os.path.join(AMBuild.outputFolder, 'includes'))
    1.10  		self.mmsPath = AMBuild.cache['MMSOURCE17']
    1.11  
    1.12  	def DefaultCompiler(self):
    1.13 @@ -181,7 +182,7 @@
    1.14  	def AutoVersion(self, folder, binary):
    1.15  		if AMBuild.target['platform'] != 'windows':
    1.16  			return
    1.17 -		env = {'RCDEFINES': ['BINARY_NAME="' + binary.binaryFile + '"']}
    1.18 +		env = {'RCDEFINES': ['BINARY_NAME="' + binary.binaryFile + '"', 'SM_GENERATED_BUILD']}
    1.19  		binary.AddResourceFile(os.path.join(folder, 'version.rc' ), env)
    1.20  
    1.21  	def PreSetupHL2Job(self, job, builder, sdk):