mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 06:29:49 +08:00
24 lines
616 B
Python
24 lines
616 B
Python
# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
|
|
projectName = 'l4dtoolz'
|
|
|
|
# smsdk_ext.cpp will be automatically added later
|
|
sourceFiles = [
|
|
'l4dtoolz_mm.cpp',
|
|
'memutils.cpp',
|
|
]
|
|
|
|
###############
|
|
# Make sure to edit PackageScript, which copies your files to their appropriate locations
|
|
# Simple extensions do not need to modify past this point.
|
|
|
|
project = Extension.HL2Project(builder, projectName)
|
|
|
|
project.sources += sourceFiles
|
|
|
|
for sdk_name in Extension.sdks:
|
|
sdk = Extension.sdks[sdk_name]
|
|
|
|
binary = Extension.HL2Config(project, projectName + sdk.ext, sdk)
|
|
|
|
Extension.extensions = builder.Add(project)
|