summaryrefslogtreecommitdiffstats
path: root/src/libFLAC++/version.rc
blob: 14efba068a2a1d21ea912f29574c97967b345065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include <winver.h>
#include "config.h"
#include "FLAC++/export.h"

#if (defined GIT_COMMIT_HASH && defined GIT_COMMIT_DATE)
# ifdef GIT_COMMIT_TAG
#  define VERSIONSTRING GIT_COMMIT_TAG
# else
#  define VERSIONSTRING "git-" GIT_COMMIT_HASH
# endif
#else
# define VERSIONSTRING PACKAGE_VERSION
#endif

#define xstr(s) str(s)
#define str(s) #s

VS_VERSION_INFO VERSIONINFO
FILEVERSION    FLACPP_API_VERSION_CURRENT,FLACPP_API_VERSION_REVISION,0,0
FILEFLAGSMASK  VS_FFI_FILEFLAGSMASK
FILEFLAGS      0
FILEOS         VOS__WINDOWS32
FILETYPE       VFT_DLL
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "FileDescription", "libFLAC++ for Windows"
            VALUE "ProductName", "Free Lossless Audio Codec"
            VALUE "ProductVersion", VERSIONSTRING
            VALUE "CompanyName", "Xiph.Org"
            VALUE "LegalCopyright", "2000-2009 Josh Coalson, 2011-2023 Xiph.Org Foundation"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END