summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/cmake/version.rc.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluent-bit/cmake/version.rc.in')
-rw-r--r--src/fluent-bit/cmake/version.rc.in43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/fluent-bit/cmake/version.rc.in b/src/fluent-bit/cmake/version.rc.in
new file mode 100644
index 000000000..12c9b95a2
--- /dev/null
+++ b/src/fluent-bit/cmake/version.rc.in
@@ -0,0 +1,43 @@
+#include <windows.h>
+
+#define FLB_VER_FILEVERSION @FLB_VERSION_MAJOR@,@FLB_VERSION_MINOR@,@FLB_VERSION_PATCH@,0
+#define FLB_VER_FILEVERSION_STR "@FLB_VERSION_MAJOR@.@FLB_VERSION_MINOR@.@FLB_VERSION_PATCH@.0\0"
+
+#define FLB_VER_PRODUCTVERSION @FLB_VERSION_MAJOR@,@FLB_VERSION_MINOR@,@FLB_VERSION_PATCH@,0
+#define FLB_VER_PRODUCTVERSION_STR "@FLB_VERSION_MAJOR@.@FLB_VERSION_MINOR@.@FLB_VERSION_PATCH@.0\0"
+
+#ifndef DEBUG
+#define VER_DEBUG 0
+#else
+#define VER_DEBUG VS_FF_DEBUG
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION FLB_VER_FILEVERSION
+ PRODUCTVERSION FLB_VER_PRODUCTVERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+ FILEFLAGS VER_DEBUG
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+BEGIN
+ BLOCK "VarFileInfo"
+ BEGIN
+ // English language (0x409) and the Windows Unicode codepage (1200)
+ VALUE "Translation", 0x409, 1200
+ END
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "FileDescription", "Compiled with @CMAKE_C_COMPILER_ID@ @CMAKE_C_COMPILER_VERSION@\0"
+ VALUE "ProductVersion", FLB_VER_PRODUCTVERSION_STR
+ VALUE "FileVersion", FLB_VER_FILEVERSION_STR
+ VALUE "InternalName", "fluent-bit\0"
+ VALUE "ProductName", "Fluent Bit - Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows\0"
+ VALUE "CompanyName", "Calyptia Inc.\0"
+ VALUE "LegalCopyright", "Copyright (C) 2015-2018 Treasure Data Inc.\nCopyright (C) 2019-2021 The Fluent Bit Authors.\nAll rights reserved.\0"
+ VALUE "Licence", "Apache-2.0\0"
+ VALUE "Info", "https://docs.fluentbit.io/manual/0"
+ END
+ END
+END \ No newline at end of file