sm-ext-PhysHooks/AMBuilder
2019-12-20 11:18:19 +01:00

25 lines
702 B
Python

# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
import os, sys
projectName = 'PhysHooks'
project = Extension.HL2Project(builder, projectName + '.ext')
project.sources += [
'extension.cpp',
'../../public/smsdk_ext.cpp',
'../../public/CDetour/detours.cpp',
'../../public/asm/asm.c',
'../../public/libudis86/decode.c',
'../../public/libudis86/itab.c',
'../../public/libudis86/syn-att.c',
'../../public/libudis86/syn-intel.c',
'../../public/libudis86/syn.c',
'../../public/libudis86/udis86.c',
]
for sdk_name in Extension.sdks:
sdk = Extension.sdks[sdk_name]
binary = Extension.HL2Config(project, projectName + '.ext.' + sdk.ext, sdk)
Extension.extensions = builder.Add(project)