1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-03-21 12:28:56 +01:00

initial import of new version code for nightly builds

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40340
This commit is contained in:
David Anderson 2007-02-22 03:06:41 +00:00
parent b663f41ee0
commit 012a2c600c
4 changed files with 26 additions and 6 deletions

View File

@ -255,6 +255,10 @@
RelativePath="..\sourcemm.h"
>
</File>
<File
RelativePath="..\svn_version.h"
>
</File>
<File
RelativePath="..\util.h"
>

View File

@ -25,13 +25,14 @@
#include "CPlugin.h"
#include "oslink.h"
#include "util.h"
#include "svn_version.h"
/**
* Versioning
* increase api_major when API breaks
* increase api_minor when new functions are added (non-breaking)
*/
#define SOURCEMM_VERSION "1.4"
#define SOURCEMM_VERSION SVN_FILE_VERSION_STRING
#define SOURCEMM_DATE __DATE__
#define SM_VERS_API_MAJOR 1 //increase this on a breaking change
#define SM_VERS_API_MINOR 5 //increase this on a non-breaking API change

14
sourcemm/svn_version.h Normal file
View File

@ -0,0 +1,14 @@
/** This file is autogenerated by build scripts */
#ifndef _INCLUDE_SVN_VERSION_H_
#define _INCLUDE_SVN_VERSION_H_
#define SVN_PRODUCT_VERSION "1.4.0"
#define SVN_REVISION 340
#define SVN_REVISION_STRING "340"
#define SVN_FILE_VERSION 1,4,0,340
#define SVN_FILE_VERSION_STRING "1.4.0.340"
#endif //_INCLUDE_SVN_VERSION_H_

View File

@ -7,6 +7,7 @@
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
#include "svn_version.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
@ -26,8 +27,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,0,4
PRODUCTVERSION 1,3,0,4
FILEVERSION SVN_FILE_VERSION
PRODUCTVERSION SVN_FILE_VERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -44,12 +45,12 @@ BEGIN
BEGIN
VALUE "Comments", "Metamod: Source"
VALUE "FileDescription", "Metamod: Source"
VALUE "FileVersion", "1.3d"
VALUE "FileVersion", SVN_FILE_VERSION_STRING
VALUE "InternalName", "sourcemm"
VALUE "LegalCopyright", "Copyright (c) 2004-2006, Metamod: Source Development Team"
VALUE "LegalCopyright", "Copyright (c) 2004-2007, Metamod: Source Development Team"
VALUE "OriginalFilename", "server.dll"
VALUE "ProductName", "Metamod: Source"
VALUE "ProductVersion", "1.3d"
VALUE "ProductVersion", SVN_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"