Add version.rc in AMBuilder for all modules
This commit is contained in:
parent
291a33ce65
commit
f5e23903a2
|
@ -19,4 +19,7 @@ binary.sources = [
|
|||
'../../../public/memtools/CDetour/asm/asm.c',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -12,4 +12,7 @@ binary.sources = [
|
|||
'usermsg.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -13,4 +13,7 @@ binary.sources = [
|
|||
'moduleconfig.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -14,4 +14,7 @@ binary.sources = [
|
|||
'moduleconfig.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -16,4 +16,7 @@ binary.sources = [
|
|||
'forwards.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -21,4 +21,7 @@ binary.sources = [
|
|||
'misc.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -8,4 +8,7 @@ binary.sources = [
|
|||
'fun.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -15,6 +15,9 @@ binary.sources = [
|
|||
'geoip_util.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.compiler.postlink += ['ws2_32.lib']
|
||||
binary.compiler.includes += [os.path.join(builder.sourcePath, 'dlls', 'geoip', 'GeoIP2')]
|
||||
|
|
|
@ -21,4 +21,7 @@ binary.sources = [
|
|||
'hook_specialbot.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -45,6 +45,9 @@ if AMXX.mysql_path:
|
|||
'mysql/MysqlDriver.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += [
|
||||
'thread/WinThreads.cpp',
|
||||
|
|
|
@ -26,4 +26,7 @@ binary.sources = [
|
|||
'natives/memberfuncs.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -15,4 +15,7 @@ binary.sources = [
|
|||
'NVault.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -14,6 +14,7 @@ binary.compiler.defines += [
|
|||
'PCRE_STATIC',
|
||||
'HAVE_STDINT_H',
|
||||
]
|
||||
|
||||
binary.sources = [
|
||||
'../../public/sdk/amxxmodule.cpp',
|
||||
'module.cpp',
|
||||
|
@ -21,4 +22,7 @@ binary.sources = [
|
|||
'utils.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -8,6 +8,9 @@ binary.sources = [
|
|||
'sockets.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.compiler.postlink += ['wsock32.lib', 'ws2_32.lib']
|
||||
|
||||
|
|
|
@ -82,5 +82,7 @@ else:
|
|||
'sqlite-source/os_unix.c',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -14,4 +14,7 @@ binary.sources = [
|
|||
'moduleconfig.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -7,4 +7,7 @@ binary.sources = [
|
|||
'../../../public/sdk/amxxmodule.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
|
@ -14,4 +14,7 @@ binary.sources = [
|
|||
'usermsg.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += ['version.rc']
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user