Mercurial > hg > orthanc
comparison Resources/WindowsResources.rc @ 1467:5068de14eef1
Inject version information into Windows binaries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 30 Jul 2015 09:46:28 +0200 |
parents | |
children | 9cc3d40e389b |
comparison
equal
deleted
inserted
replaced
1466:0cd0f2ad3599 | 1467:5068de14eef1 |
---|---|
1 #include <winver.h> | |
2 | |
3 VS_VERSION_INFO VERSIONINFO | |
4 FILEVERSION ${VERSION_MAJOR},${VERSION_MINOR},0,${VERSION_PATCH} | |
5 PRODUCTVERSION ${VERSION_MAJOR},${VERSION_MINOR},0,0 | |
6 FILEOS VOS_NT_WINDOWS32 | |
7 FILETYPE ${TYPE} | |
8 BEGIN | |
9 BLOCK "StringFileInfo" | |
10 BEGIN | |
11 BLOCK "${BLOCK}" | |
12 BEGIN | |
13 VALUE "Comments", "${RELEASE}" | |
14 VALUE "CompanyName", "University Hospital of Liege, Belgium" | |
15 VALUE "FileDescription", "${DESCRIPTION}" | |
16 VALUE "FileVersion", "${VERSION_MAJOR}.${VERSION_MINOR}.0.${VERSION_PATCH}" | |
17 VALUE "InternalName", "${PRODUCT}" | |
18 VALUE "LegalCopyright", "(c) 2012-${YEAR}, Sebastien Jodogne, University Hospital of Liege, Belgium" | |
19 VALUE "LegalTrademarks", "Licensing information is available at http://www.orthanc-server.com/" | |
20 VALUE "OriginalFilename", "${FILENAME}" | |
21 VALUE "ProductName", "${PRODUCT}" | |
22 VALUE "ProductVersion", "${VERSION_MAJOR}.${VERSION_MINOR}" | |
23 END | |
24 END | |
25 | |
26 BLOCK "VarFileInfo" | |
27 BEGIN | |
28 VALUE "Translation", 0x409, 1252 // U.S. English | |
29 END | |
30 END |