2016-05-12 16:10:42 +02:00
|
|
|
# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
|
|
|
|
import os
|
|
|
|
|
|
|
|
if not "SM" in globals():
|
|
|
|
SM = Extension
|
|
|
|
|
|
|
|
projectName = 'CSSFixes'
|
|
|
|
|
|
|
|
project = SM.HL2Project(builder, projectName + '.ext')
|
|
|
|
project.sources += [
|
|
|
|
'extension.cpp',
|
|
|
|
'../../public/smsdk_ext.cpp',
|
|
|
|
'../../public/CDetour/detours.cpp',
|
2018-02-11 18:50:26 +01:00
|
|
|
'../../public/asm/asm.c',
|
2019-09-25 21:09:32 +02:00
|
|
|
'../../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',
|
2016-05-12 16:10:42 +02:00
|
|
|
]
|
2018-02-11 18:50:26 +01:00
|
|
|
project.compiler.defines += ['HAVE_STRING_H'];
|
2016-05-12 16:10:42 +02:00
|
|
|
|
|
|
|
for sdk_name in SM.sdks:
|
|
|
|
sdk = SM.sdks[sdk_name]
|
|
|
|
binary = SM.HL2Config(project, projectName + '.ext', sdk)
|
|
|
|
|
|
|
|
SM.extensions += builder.Add(project)
|