Add .rc files.

Former-commit-id: 3d9c34eff669112a54d181ca3f970e2c77d31409
This commit is contained in:
David Anderson
2014-02-08 20:53:01 -08:00
parent 1f15fdd6cb
commit 779e064a17
5 changed files with 30 additions and 19 deletions

View File

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

View File

@ -6,7 +6,13 @@
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
#include "svn_version.h"
#if defined AMBUILD
# include <amxmodx_version.h>
#else
# define SVN_VERSION_DWORD 1, 8, 3, 0
# define SVN_VERSION_STRING "dev-local"
# define SVN_VERSION SVN_VERSION_STRING
#endif
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
@ -49,7 +55,7 @@ BEGIN
VALUE "LegalCopyright", "Copyright (c) 2004-2007, AMX Mod X Dev Team"
VALUE "OriginalFilename", "amxmodx_mm.dll"
VALUE "ProductName", "AMX Mod X"
VALUE "ProductVersion", SVN_VERSION_PRODUCT
VALUE "ProductVersion", SVN_VERSION
END
END
BLOCK "VarFileInfo"