Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2015-11-15 02:14:50 +0300
committerOliver Schneider <oliver@assarbad.net>2015-11-15 02:14:50 +0300
commita20251ef1bb9516ab8dc26cc5039d61a5e6a65dc (patch)
tree8a4983ef152666c0b1fb3b4aa9cbeee34eef844a /src/host/premake.c
parentb5121cf3af9d30c559af3e40636a08b8fb345c12 (diff)
Adding the vs2015.lua file to the project
New setvcvars.cmd Adding tip revision number and identifier to the binary (version info resource) --HG-- branch : WDS-build
Diffstat (limited to 'src/host/premake.c')
-rwxr-xr-xsrc/host/premake.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/host/premake.c b/src/host/premake.c
index 9e30d50..e93754e 100755
--- a/src/host/premake.c
+++ b/src/host/premake.c
@@ -12,8 +12,12 @@
#include <CoreFoundation/CFBundle.h>
#endif
-
+#ifdef HAVE_HGTIP
+# include "hgtip.h"
+# define VERSION HG_TIP_ID ":" HG_TIP_REVNO
+#else
#define VERSION "HEAD"
+#endif
#define COPYRIGHT "Copyright (C) 2002-2013 Jason Perkins and the Premake Project"
#define ERROR_MESSAGE "%s\n"