initial commit
This commit is contained in:
23
AMBuilder
Normal file
23
AMBuilder
Normal file
@ -0,0 +1,23 @@
|
||||
# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
|
||||
import os
|
||||
|
||||
if not "SM" in globals():
|
||||
SM = Extension
|
||||
|
||||
projectName = 'outputinfo'
|
||||
|
||||
project = SM.HL2Project(builder, projectName + '.ext')
|
||||
project.sources += [
|
||||
'extension.cpp',
|
||||
'../../public/smsdk_ext.cpp'
|
||||
]
|
||||
|
||||
for sdk_name in SM.sdks:
|
||||
sdk = SM.sdks[sdk_name]
|
||||
|
||||
binary = SM.HL2Config(project, projectName + '.ext.' + sdk.ext, sdk)
|
||||
binary.compiler.cxxincludes += [
|
||||
os.path.join(sdk.path, 'game/server')
|
||||
]
|
||||
|
||||
SM.extensions += builder.Add(project)
|
Reference in New Issue
Block a user