// Defines Version Information to include in DLL on Windows. // Refer: https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource #include // Defines VS_VERSION_INFO #include // Defines BSONCXX_VERSION_MAJOR and other version macros. #define BSONCXX_VERSION "4.4.0" #define BSONCXX_OUTPUT_BASENAME "bsoncxx" VS_VERSION_INFO VERSIONINFO FILEVERSION BSONCXX_VERSION_MAJOR,BSONCXX_VERSION_MINOR,BSONCXX_VERSION_PATCH,0 PRODUCTVERSION BSONCXX_VERSION_MAJOR,BSONCXX_VERSION_MINOR,BSONCXX_VERSION_PATCH,0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG #else FILEFLAGS 0L #endif // Set FILEOS to VOS_UNKNOWN. There is no documented value for 64-bit builds. FILEOS VOS_UNKNOWN FILETYPE VFT_DLL // Set FILESUBTYPE to VFT2_UNKNOWN. There is no applicable value. FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN // Use langID `0409` for "US English". Use charsetID `04b0` for "Unicode" BLOCK "040904b0" BEGIN VALUE "CompanyName", "MongoDB, Inc" VALUE "FileDescription", "A BSON Library for C++" VALUE "FileVersion", BSONCXX_VERSION VALUE "InternalName", BSONCXX_OUTPUT_BASENAME VALUE "OriginalFilename", BSONCXX_OUTPUT_BASENAME ".dll" VALUE "ProductName", "MongoDB C++ Driver" VALUE "ProductVersion", BSONCXX_VERSION VALUE "LegalCopyright", "Copyright 2009-present MongoDB, Inc." END END BLOCK "VarFileInfo" BEGIN // Use langID `0x0409` for "U.S. English". Use charsetID `1200` for "Unicode". VALUE "Translation", 0x409, 1200 END END