2009-08-23 17:03:14 +02:00
|
|
|
This plugin has a command for dumping detailed version info (zr_version) based
|
|
|
|
on info from a automatically generated file (hgversion.h.inc).
|
|
|
|
|
|
|
|
There's a script that generate this file and must be executed every time before
|
2009-10-20 01:45:13 +02:00
|
|
|
compiling:
|
2009-08-23 17:03:14 +02:00
|
|
|
|
|
|
|
updateversion.sh
|
2009-10-20 01:45:13 +02:00
|
|
|
updateversion.bat (Executes updateversion.sh using Cygwin)
|
2009-08-23 17:03:14 +02:00
|
|
|
|
2009-10-20 01:45:13 +02:00
|
|
|
Mercurial (or TortoiseHG) must be installed for this script to work. Use the
|
|
|
|
makefile to compile since that one will do most of the work. Make sure you
|
|
|
|
clean any existing builds before compiling:
|
2009-08-23 17:03:14 +02:00
|
|
|
|
|
|
|
make clean
|
|
|
|
make
|
|
|
|
|
2009-10-20 01:45:13 +02:00
|
|
|
For compiling on windows, run:
|
|
|
|
|
|
|
|
compile.bat
|
|
|
|
|
|
|
|
If you don't have Mercurial, there's an option to disable this feature. In
|
2009-08-23 17:03:14 +02:00
|
|
|
zombiereloaded.sp there's a line like this:
|
|
|
|
|
|
|
|
#define ADD_VERSION_INFO 1
|
|
|
|
|
|
|
|
To disable it, comment that line like this:
|
|
|
|
|
|
|
|
//#define ADD_VERSION_INFO 1
|
|
|
|
|
|
|
|
Then you should be able to compile without hgversion.h.inc.
|