mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-29 08:15:38 +03:00
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
29 lines
560 B
Python
29 lines
560 B
Python
# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
|
|
import os.path
|
|
|
|
binary = AMXX.MetaModule(builder, 'tfcx')
|
|
|
|
binary.compiler.defines += [
|
|
'HAVE_STDINT_H',
|
|
]
|
|
|
|
binary.sources = [
|
|
'../../public/sdk/amxxmodule.cpp',
|
|
'CRank.cpp',
|
|
'CMisc.cpp',
|
|
'NBase.cpp',
|
|
'NRank.cpp',
|
|
'usermsg.cpp',
|
|
'Utils.cpp',
|
|
'moduleconfig.cpp',
|
|
]
|
|
|
|
if builder.target_platform == 'windows':
|
|
binary.sources += ['version.rc']
|
|
binary.compiler.linkflags += [
|
|
'/EXPORT:GiveFnptrsToDll=_GiveFnptrsToDll@8,@1',
|
|
'/SECTION:.data,RW',
|
|
]
|
|
|
|
AMXX.modules += [builder.Add(binary)]
|