mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +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']:
|
if sdk['source2']:
|
||||||
cxx.defines += ['META_IS_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)
|
SdkHelpers.configureCxx(context, binary, sdk)
|
||||||
|
|
||||||
|
@ -23,8 +23,6 @@ for sdk, cxx in MMS.sdk_targets:
|
|||||||
if sdk.get('source2', False):
|
if sdk.get('source2', False):
|
||||||
binary.sources += [
|
binary.sources += [
|
||||||
'provider/source2/provider_source2.cpp',
|
'provider/source2/provider_source2.cpp',
|
||||||
os.path.join(sdk['path'], 'tier1', 'convar.cpp'),
|
|
||||||
os.path.join(sdk['path'], 'public', 'tier0', 'memoverride.cpp')
|
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
binary.sources += [
|
binary.sources += [
|
||||||
|
@ -275,6 +275,10 @@ class MMSPluginConfig(object):
|
|||||||
|
|
||||||
if sdk['source2']:
|
if sdk['source2']:
|
||||||
cxx.defines += ['META_IS_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)
|
SdkHelpers.configureCxx(context, binary, sdk)
|
||||||
|
|
||||||
|
@ -16,10 +16,6 @@ for sdk_target in MMSPlugin.sdk_targets:
|
|||||||
'sample_mm.cpp',
|
'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 = [
|
binary.custom = [builder.tools.Protoc(protoc = sdk_target.protoc, sources = [
|
||||||
os.path.join(sdk['path'], 'common', 'network_connection.proto'),
|
os.path.join(sdk['path'], 'common', 'network_connection.proto'),
|
||||||
])]
|
])]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user