summaryrefslogtreecommitdiffstats
path: root/cmake/WindowsDLLVersion.rc.in
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/WindowsDLLVersion.rc.in')
-rw-r--r--cmake/WindowsDLLVersion.rc.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/cmake/WindowsDLLVersion.rc.in b/cmake/WindowsDLLVersion.rc.in
new file mode 100644
index 0000000..5a0da5e
--- /dev/null
+++ b/cmake/WindowsDLLVersion.rc.in
@@ -0,0 +1,35 @@
+#include <winresrc.h>
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION @RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_BUILD@,@RC_VERSION_PATCH@
+ PRODUCTVERSION @RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_BUILD@,@RC_VERSION_PATCH@
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "@RC_VERSION_VENDOR@"
+ VALUE "FileDescription", "@RC_VERSION_DESCRIPTION@"
+ VALUE "FileVersion", "@RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_PATCH@,@RC_VERSION_BUILD@"
+ VALUE "InternalName", "@RC_VERSION_FILE@"
+ VALUE "LegalCopyright", "Copyright (C) 2011-@RC_VERSION_YEAR@"
+ VALUE "OriginalFilename", "@RC_VERSION_FILE@"
+ VALUE "ProductName", "@RC_VERSION_PRODUCT@"
+ VALUE "ProductVersion", "@RC_VERSION_MAJOR@,@RC_VERSION_MINOR@,@RC_VERSION_BUILD@,@RC_VERSION_PATCH@"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+