1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Add cs2 build. (No targets for now)

This commit is contained in:
Nick Hastings 2023-04-01 00:19:34 -04:00
parent f9f7513399
commit 82cd23bc10
2 changed files with 2 additions and 1 deletions

View File

@ -78,6 +78,7 @@ PossibleSDKs = {
'mock': SDK('HL2SDK-MOCK', '2.mock', '999', 'MOCK', Mock, 'mock'),
'pvkii': SDK('HL2SDKPVKII', '2.pvkii', '10', 'PVKII', WinLinux, 'pvkii'),
'dota': SDK('HL2SDKDOTA', '2.dota', '24', 'DOTA', Source2, 'dota'),
'cs2': SDK('HL2SDKCS2', '2.cs2', '25', 'CS2', [], 'cs2'),
}
def ResolveEnvPath(env, folder):

View File

@ -28,7 +28,7 @@ for sdk_name in MMS.sdks:
'vsp_bridge.cpp'
]
if sdk_name in ['dota']:
if sdk_name in ['dota', 'cs2']:
binary.sources += ['provider/source2/provider_source2.cpp']
else:
binary.sources += ['provider/source/provider_source.cpp']