Add version.rc in AMBuilder for all modules
This commit is contained in:
parent
291a33ce65
commit
f5e23903a2
|
@ -6,7 +6,7 @@ binary = AMXX.MetaModule(builder, 'cstrike')
|
|||
binary.compiler.defines += [
|
||||
'HAVE_STDINT_H',
|
||||
]
|
||||
|
||||
|
||||
binary.sources = [
|
||||
'../../../public/sdk/amxxmodule.cpp',
|
||||
'amxx_api.cpp',
|
||||
|
@ -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)]
|
||||
|
|
|
@ -6,7 +6,7 @@ binary = AMXX.MetaModule(builder, 'engine')
|
|||
binary.compiler.defines += [
|
||||
'HAVE_STDINT_H',
|
||||
]
|
||||
|
||||
|
||||
binary.sources = [
|
||||
'../../public/sdk/amxxmodule.cpp',
|
||||
'amxxapi.cpp',
|
||||
|
@ -15,5 +15,8 @@ binary.sources = [
|
|||
'globals.cpp',
|
||||
'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)]
|
||||
|
|
|
@ -2,10 +2,13 @@
|
|||
import os.path
|
||||
|
||||
binary = AMXX.MetaModule(builder, 'fun')
|
||||
|
||||
|
||||
binary.sources = [
|
||||
'../../public/sdk/amxxmodule.cpp',
|
||||
'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