view Resources/Orthanc/CMake/WindowsResources.rc @ 22:6f410277e485

fix deprecated calls
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 15:22:34 +0100
parents f73ccd943c8e
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", "The Orthanc project"
            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, Osimis S.A., and ICTEAM UCLouvain"
            VALUE "LegalTrademarks", "Licensing information is available at https://orthanc.uclouvain.be/book/faq/licensing.html"
            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