mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 23:05:37 +03:00
16 lines
362 B
Plaintext
16 lines
362 B
Plaintext
|
# vim: sts=2 ts=8 sw=2 tw=99 et ft=python:
|
||
|
import os
|
||
|
|
||
|
lib = builder.compiler.StaticLibrary('version')
|
||
|
lib.compiler.includes += [
|
||
|
os.path.join(builder.sourcePath, 'public'),
|
||
|
]
|
||
|
lib.compiler.defines.remove('AMXX_USE_VERSIONLIB')
|
||
|
lib.compiler.sourcedeps += AMXX.generated_headers
|
||
|
lib.sources += [
|
||
|
'versionlib.cpp'
|
||
|
]
|
||
|
task = builder.Add(lib)
|
||
|
|
||
|
rvalue = task.binary
|