1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00
HLMetaModOfficial/core/AMBuilder
2014-05-25 02:16:03 -07:00

31 lines
813 B
Python

# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
import os
for sdk_name in MMS.sdks:
sdk = MMS.sdks[sdk_name]
if sdk.name == 'episode1':
continue
name = 'metamod.' + sdk.ext
binary = MMS.HL2Library(builder, name, sdk)
binary.sources += [
'metamod.cpp',
'metamod_console.cpp',
'metamod_oslink.cpp',
'metamod_plugins.cpp',
'metamod_util.cpp',
'provider/console.cpp',
'provider/provider_ep2.cpp',
'sourcehook/sourcehook.cpp',
'sourcehook/sourcehook_hookmangen.cpp',
'sourcehook/sourcehook_impl_chookidman.cpp',
'sourcehook/sourcehook_impl_chookmaninfo.cpp',
'sourcehook/sourcehook_impl_cproto.cpp',
'sourcehook/sourcehook_impl_cvfnptr.cpp',
'gamedll_bridge.cpp',
'vsp_bridge.cpp'
]
nodes = builder.Add(binary)
MMS.binaries += [nodes]