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:
Diffstat (limited to 'src/host/premake4.rc')
-rw-r--r--src/host/premake4.rc15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/host/premake4.rc b/src/host/premake4.rc
index 10ce7a2..7018839 100644
--- a/src/host/premake4.rc
+++ b/src/host/premake4.rc
@@ -4,6 +4,9 @@
#include <winnt.rh>
#include <verrsrc.h>
+#ifdef HAVE_HGTIP
+# include "hgtip.h"
+#endif
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
@@ -25,12 +28,18 @@ BEGIN
BEGIN
VALUE "CompanyName", "WDS Team"
VALUE "FileDescription", "A build configuration tool"
- VALUE "FileVersion", "4.4-wds"
VALUE "InternalName", "premake4-windirstat"
- VALUE "LegalCopyright", "Copyright (C) 2002-2013 by Jason Perkins, with minor customizations by WDS team"
+#ifdef HAVE_HGTIP
+ VALUE "FileVersion", "4.4-wds-" HG_TIP_REVNO
+ VALUE "ProductVersion", "4.4-wds-" HG_TIP_REVNO
+ VALUE "OriginalFilename", "premake4.rev-" HG_TIP_REVNO "-" HG_TIP_ID ".exe"
+#else
+ VALUE "FileVersion", "4.4-wds"
+ VALUE "ProductVersion", "4.4-wds"
VALUE "OriginalFilename", "premake4.exe"
+#endif
+ VALUE "LegalCopyright", "Copyright (C) 2002-2013 by Jason Perkins, with minor customizations by WDS team"
VALUE "ProductName", "premake4"
- VALUE "ProductVersion", "4.4-wds"
END
END
BLOCK "VarFileInfo"