Silly AMBuild
This commit is contained in:
parent
5d1820853a
commit
9a08986fd1
@ -3,40 +3,38 @@ import os
|
|||||||
|
|
||||||
sdk = SM.sdkInfo['ep1']
|
sdk = SM.sdkInfo['ep1']
|
||||||
|
|
||||||
if AMBuild.target['platform'] in sdk['platform']:
|
compiler = SM.DefaultHL2Compiler('extensions/cstrike', 'ep1')
|
||||||
compiler = SM.DefaultHL2Compiler('extensions/cstrike', 'ep1')
|
|
||||||
|
|
||||||
name = 'game.cstrike.ext.' + sdk['ext']
|
name = 'game.cstrike.ext.' + sdk['ext']
|
||||||
extension = AMBuild.AddJob(name)
|
extension = AMBuild.AddJob(name)
|
||||||
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
|
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
|
||||||
SM.PreSetupHL2Job(extension, binary, 'ep1')
|
SM.PreSetupHL2Job(extension, binary, 'ep1')
|
||||||
binary.AddSourceFiles('extensions/cstrike', [
|
binary.AddSourceFiles('extensions/cstrike', [
|
||||||
'extension.cpp',
|
'extension.cpp',
|
||||||
'natives.cpp',
|
'natives.cpp',
|
||||||
'RegNatives.cpp',
|
'RegNatives.cpp',
|
||||||
'timeleft.cpp',
|
'timeleft.cpp',
|
||||||
'sdk/smsdk_ext.cpp'
|
'sdk/smsdk_ext.cpp'
|
||||||
])
|
])
|
||||||
SM.PostSetupHL2Job(extension, binary, 'ep1')
|
SM.PostSetupHL2Job(extension, binary, 'ep1')
|
||||||
SM.AutoVersion('extensions/cstrike', binary)
|
SM.AutoVersion('extensions/cstrike', binary)
|
||||||
binary.SendToJob()
|
binary.SendToJob()
|
||||||
|
|
||||||
sdk = SM.sdkInfo['ep2v']
|
sdk = SM.sdkInfo['ep2v']
|
||||||
|
|
||||||
if AMBuild.target['platform'] in sdk['platform']:
|
compiler = SM.DefaultHL2Compiler('extensions/cstrike', 'ep2v')
|
||||||
compiler = SM.DefaultHL2Compiler('extensions/cstrike', 'ep2v')
|
|
||||||
|
|
||||||
name = 'game.cstrike.ext.' + sdk['ext']
|
name = 'game.cstrike.ext.' + sdk['ext']
|
||||||
extension = AMBuild.AddJob(name)
|
extension = AMBuild.AddJob(name)
|
||||||
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
|
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
|
||||||
SM.PreSetupHL2Job(extension, binary, 'ep2v')
|
SM.PreSetupHL2Job(extension, binary, 'ep2v')
|
||||||
binary.AddSourceFiles('extensions/cstrike', [
|
binary.AddSourceFiles('extensions/cstrike', [
|
||||||
'extension.cpp',
|
'extension.cpp',
|
||||||
'natives.cpp',
|
'natives.cpp',
|
||||||
'RegNatives.cpp',
|
'RegNatives.cpp',
|
||||||
'timeleft.cpp',
|
'timeleft.cpp',
|
||||||
'sdk/smsdk_ext.cpp'
|
'sdk/smsdk_ext.cpp'
|
||||||
])
|
])
|
||||||
SM.PostSetupHL2Job(extension, binary, 'ep2v')
|
SM.PostSetupHL2Job(extension, binary, 'ep2v')
|
||||||
SM.AutoVersion('extensions/cstrike', binary)
|
SM.AutoVersion('extensions/cstrike', binary)
|
||||||
binary.SendToJob()
|
binary.SendToJob()
|
Loading…
Reference in New Issue
Block a user