summaryrefslogtreecommitdiff
path: root/cmake/versioninfo.rc.in
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-12-16 02:51:13 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-12-16 02:51:13 +0100
commit37b1efb9479aa10e20ede635d147d8cb53dc251d (patch)
treea83f094aaac4edd860cac562b98d08edd6a90136 /cmake/versioninfo.rc.in
parent9051d1c0dfd574e4773f759dc813648b9298a44b (diff)
downloadmariadb-git-37b1efb9479aa10e20ede635d147d8cb53dc251d.tar.gz
Add version resource to windows executables
Diffstat (limited to 'cmake/versioninfo.rc.in')
-rw-r--r--cmake/versioninfo.rc.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/cmake/versioninfo.rc.in b/cmake/versioninfo.rc.in
new file mode 100644
index 00000000000..263398836a0
--- /dev/null
+++ b/cmake/versioninfo.rc.in
@@ -0,0 +1,25 @@
+#include <windows.h>
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH@,0
+PRODUCTVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@PATCH@,0
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+FILEFLAGS 0
+FILEOS VOS__WINDOWS32
+FILETYPE @FILETYPE@
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "FileDescription", "@FILEDESCRIPTION@\0"
+ VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH@\0"
+ VALUE "InternalName", "@INTERNALNAME@\0"
+ VALUE "OriginalFilename", "@ORIGINALFILENAME@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END