mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Move standard source 2 include source files in HL2Library
This commit is contained in:
parent
6c62ea0360
commit
30f0aa65b4
@ -324,6 +324,10 @@ class MMSConfig(object):
|
||||
|
||||
if sdk['source2']:
|
||||
cxx.defines += ['META_IS_SOURCE2']
|
||||
binary.sources += [
|
||||
os.path.join(sdk['path'], 'public', 'tier0', 'memoverride.cpp'),
|
||||
os.path.join(sdk['path'], 'tier1', 'convar.cpp'),
|
||||
]
|
||||
|
||||
SdkHelpers.configureCxx(context, binary, sdk)
|
||||
|
||||
|
@ -23,8 +23,6 @@ for sdk, cxx in MMS.sdk_targets:
|
||||
if sdk.get('source2', False):
|
||||
binary.sources += [
|
||||
'provider/source2/provider_source2.cpp',
|
||||
os.path.join(sdk['path'], 'tier1', 'convar.cpp'),
|
||||
os.path.join(sdk['path'], 'public', 'tier0', 'memoverride.cpp')
|
||||
]
|
||||
else:
|
||||
binary.sources += [
|
||||
|
@ -275,6 +275,10 @@ class MMSPluginConfig(object):
|
||||
|
||||
if sdk['source2']:
|
||||
cxx.defines += ['META_IS_SOURCE2']
|
||||
binary.sources += [
|
||||
os.path.join(sdk['path'], 'tier0_perproject', 'memoverride.cpp'),
|
||||
os.path.join(sdk['path'], 'tier1', 'convar.cpp'),
|
||||
]
|
||||
|
||||
SdkHelpers.configureCxx(context, binary, sdk)
|
||||
|
||||
|
@ -16,10 +16,6 @@ for sdk_target in MMSPlugin.sdk_targets:
|
||||
'sample_mm.cpp',
|
||||
]
|
||||
|
||||
binary.sources += [
|
||||
os.path.join(sdk['path'], 'tier1', 'convar.cpp'),
|
||||
os.path.join(sdk['path'], 'public', 'tier0', 'memoverride.cpp')
|
||||
]
|
||||
binary.custom = [builder.tools.Protoc(protoc = sdk_target.protoc, sources = [
|
||||
os.path.join(sdk['path'], 'common', 'network_connection.proto'),
|
||||
])]
|
||||
|
Loading…
Reference in New Issue
Block a user