view Resources/WindowsResources.rc @ 3103:81b58b549845

back to using 'var' instead of 'let' since let is not supported by many old browsers. All variables declaration have been moved to the top of the function to better show that their scope is the function
author Alain Mazy <alain@mazy.be>
date Thu, 10 Jan 2019 10:51:36 +0100
parents 9cc3d40e389b
children
line wrap: on
line source

#include <winver.h>

VS_VERSION_INFO VERSIONINFO
   FILEVERSION ${VERSION_MAJOR},${VERSION_MINOR},0,${VERSION_PATCH}
   PRODUCTVERSION ${VERSION_MAJOR},${VERSION_MINOR},0,0
   FILEOS VOS_NT_WINDOWS32
   FILETYPE ${TYPE}
   BEGIN
      BLOCK "StringFileInfo"
      BEGIN
         BLOCK "${BLOCK}"
         BEGIN
            VALUE "Comments", "${RELEASE}"
            VALUE "CompanyName", "Osimis SA, Belgium"
            VALUE "FileDescription", "${DESCRIPTION}"
            VALUE "FileVersion", "${VERSION_MAJOR}.${VERSION_MINOR}.0.${VERSION_PATCH}"
            VALUE "InternalName", "${PRODUCT}"
            VALUE "LegalCopyright", "(c) 2012-${YEAR}, Sebastien Jodogne, University Hospital of Liege, and Osimis SA, Belgium"
            VALUE "LegalTrademarks", "Licensing information is available at http://www.orthanc-server.com/"
            VALUE "OriginalFilename", "${FILENAME}"
            VALUE "ProductName", "${PRODUCT}"
            VALUE "ProductVersion", "${VERSION_MAJOR}.${VERSION_MINOR}"
         END
      END

      BLOCK "VarFileInfo"
      BEGIN
        VALUE "Translation", 0x409, 1252  // U.S. English
      END
   END