view Resources/WindowsResources.rc @ 27:ded267283a6d

fixed handling of DefineSourceBasenameForTarget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Dec 2023 22:04:39 +0100
parents 0c50204efadf
children 5e04a5406f1d
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", "UCLouvain, Belgium"
            VALUE "FileDescription", "${DESCRIPTION}"
            VALUE "FileVersion", "${VERSION_MAJOR}.${VERSION_MINOR}.0.${VERSION_PATCH}"
            VALUE "InternalName", "${PRODUCT}"
            VALUE "LegalCopyright", "(c) ${YEAR}, Sebastien Jodogne, ICTEAM, UCLouvain, Belgium"
            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