changed how versioning is done

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40390
This commit is contained in:
David Anderson 2007-01-27 00:06:21 +00:00
parent 21123f4c74
commit d72eef6196
3 changed files with 16 additions and 2 deletions

View File

@ -337,6 +337,10 @@
RelativePath="..\sourcemod.h"
>
</File>
<File
RelativePath="..\svn_version.h"
>
</File>
</Filter>
<Filter
Name="Interfaces"

View File

@ -18,11 +18,12 @@
* @file Contains SourceMod version information.
*/
#include "svn_version.h"
#define SOURCEMOD_V_MAJOR 1
#define SOURCEMOD_V_MINOR 0
#define SOURCEMOD_V_REV 0
#define SOURCEMOD_V_BUILD 308
#define SOURCEMOD_VERSION "1.0.0.308"
#define SOURCEMOD_VERSION "1.0.0." SVN_REVISION_STRING
#endif //_INCLUDE_SOURCEMOD_VERSION_H_

9
core/svn_version.h Normal file
View File

@ -0,0 +1,9 @@
/** This file is autogenerated by build scripts */
#ifndef _INCLUDE_SVN_VERSION_H_
#define _INCLUDE_SVN_VERSION_H_
#define SVN_REVISION 0
#define SVN_REVISION_STRING "$trunk"
#endif //_INCLUDE_SVN_VERSION_H_