summaryrefslogtreecommitdiff
path: root/PC/sqlite3.rc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-04-06 12:35:24 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-04-06 12:35:24 -0700
commit3e8df0179bf861be955190d1939e369af7d7d20b (patch)
treeabaa1935ad909dddb7bd9fa35d75a04f906d150d /PC/sqlite3.rc
parent58455ad4ed5e6f1eda17ceb0dd7f5612a980e48d (diff)
downloadcpython-3e8df0179bf861be955190d1939e369af7d7d20b.tar.gz
Adds version info to all signed binaries on Windows.
Diffstat (limited to 'PC/sqlite3.rc')
-rw-r--r--PC/sqlite3.rc49
1 files changed, 49 insertions, 0 deletions
diff --git a/PC/sqlite3.rc b/PC/sqlite3.rc
new file mode 100644
index 0000000000..84bd87d9d5
--- /dev/null
+++ b/PC/sqlite3.rc
@@ -0,0 +1,49 @@
+// Resource script for Sqlite DLL.
+
+#include <winver.h>
+
+// Include the manifest file that indicates we support all
+// current versions of Windows.
+#include <winuser.h>
+2 RT_MANIFEST "python.manifest"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define _S(x) #x
+#define S(x) _S(x)
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION SQLITE_MAJOR_VERSION, SQLITE_MINOR_VERSION, SQLITE_MICRO_VERSION, SQLITE_PATCH_VERSION
+ PRODUCTVERSION SQLITE_MAJOR_VERSION, SQLITE_MINOR_VERSION, SQLITE_MICRO_VERSION, SQLITE_PATCH_VERSION
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "CompanyName", "SQLite3\0"
+ VALUE "FileDescription", "SQLite3\0"
+ VALUE "FileVersion", S(SQLITE_VERSION) "\0"
+ VALUE "InternalName", "SQLite3 DLL\0"
+ VALUE "LegalCopyright", "Unspecified\0"
+ VALUE "OriginalFilename", "sqlite3.dll\0"
+ VALUE "ProductName", "SQLite3\0"
+ VALUE "ProductVersion", S(SQLITE_VERSION) "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END