c61735130d
* Explicit cast specification * Explicit cast specification * Suppress -Wno-tautological-compare in Clang 10 and above https://reviews.llvm.org/rG8b0d14a8f0cc085afa2a9c86c237da81c74517fc * Explicit cast specification * Add HAVE_STDINT_H compiler flag * Explicit casting mechanism type specification * typo
18 lines
337 B
Python
18 lines
337 B
Python
# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
|
|
import os.path
|
|
|
|
binary = AMXX.MetaModule(builder, 'tsfun')
|
|
|
|
binary.compiler.defines += [
|
|
'HAVE_STDINT_H',
|
|
]
|
|
|
|
binary.sources = [
|
|
'../../../public/sdk/amxxmodule.cpp',
|
|
]
|
|
|
|
if builder.target_platform == 'windows':
|
|
binary.sources += ['version.rc']
|
|
|
|
AMXX.modules += [builder.Add(binary)]
|