AMBuildScript
changeset 3856 549960ebe23c
parent 3835 ac5919d50903
child 3862 4b9339a824a1
     1.1 --- a/AMBuildScript	Tue Mar 19 11:19:38 2013 -0400
     1.2 +++ b/AMBuildScript	Tue Mar 19 11:22:31 2013 -0400
     1.3 @@ -62,6 +62,9 @@
     1.4  		self.possibleSdks['csgo'] =  {'sdk': 'HL2SDKCSGO',     'ext': '2.csgo',  'def': '12',
     1.5  		                         'name': 'CSGO',           'platform': ['windows', 'linux', 'darwin'],
     1.6  		                         'dir': 'hl2sdk-csgo'}
     1.7 +		self.possibleSdks['dota'] =  {'sdk': 'HL2SDKDOTA',     'ext': '2.dota',  'def': '13',
     1.8 +		                         'name': 'DOTA',           'platform': ['windows'],
     1.9 +		                         'dir': 'hl2sdk-dota'}
    1.10  		# self.possibleSdks['portal2'] =  {'sdk': 'HL2SDK-PORTAL2',     'ext': '2.portal2',  'def': '11',
    1.11  		#                        'name': 'PORTAL2',           'platform': ['windows'],
    1.12  		#                        'dir': 'hl2sdk-portal2'}
    1.13 @@ -341,7 +344,7 @@
    1.14  					job.AddCommand(SymlinkCommand(link, target))
    1.15  		elif AMBuild.target['platform'] == 'windows':
    1.16  			libs = ['tier0', 'tier1', 'vstdlib', 'mathlib']
    1.17 -			if sdk in ['swarm', 'csgo']:
    1.18 +			if sdk in ['swarm', 'csgo', 'dota']:
    1.19  				libs.append('interfaces')
    1.20  			for lib in libs:
    1.21  				libPath = os.path.join(sdkPath, 'lib', 'public', lib) + '.lib'