mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-23 06:57:28 +08:00
87774f26b6
Some fixes, code optimizations and changes to the `maxplayers` variable increment method
24 lines
617 B
Python
24 lines
617 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',
|
|
'signature.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)
|