Add version.rc in AMBuilder for all modules

This commit is contained in:
Arkshine 2014-12-08 01:44:27 +01:00
parent 291a33ce65
commit f5e23903a2
18 changed files with 58 additions and 4 deletions

View File

@ -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)]

View File

@ -12,4 +12,7 @@ binary.sources = [
'usermsg.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -13,4 +13,7 @@ binary.sources = [
'moduleconfig.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -14,4 +14,7 @@ binary.sources = [
'moduleconfig.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -16,4 +16,7 @@ binary.sources = [
'forwards.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -21,4 +21,7 @@ binary.sources = [
'misc.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -8,4 +8,7 @@ binary.sources = [
'fun.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -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')]

View File

@ -21,4 +21,7 @@ binary.sources = [
'hook_specialbot.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -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',

View File

@ -26,4 +26,7 @@ binary.sources = [
'natives/memberfuncs.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -15,4 +15,7 @@ binary.sources = [
'NVault.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -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)]

View File

@ -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']

View File

@ -82,5 +82,7 @@ else:
'sqlite-source/os_unix.c',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -14,4 +14,7 @@ binary.sources = [
'moduleconfig.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -7,4 +7,7 @@ binary.sources = [
'../../../public/sdk/amxxmodule.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]

View File

@ -14,4 +14,7 @@ binary.sources = [
'usermsg.cpp',
]
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
AMXX.modules += [builder.Add(binary)]