xref: /freebsd/sys/contrib/libsodium/builds/msvc/resource.rc (revision 3611ec604864a7d4dcc9a3ea898c80eb35eef8a0)
1// Microsoft Visual C++ generated resource script.
2//
3#include "resource.h"
4#include "windows.h"
5
6//specify the version numbers for the dll's
7#define LIBSODIUM_VERSION_STRING "1.0.16.0"
8#define LIBSODIUM_VERSION_BIN 1,0,16,0
9
10//specify the product name for the dlls based on the platform we are compiling for
11#if defined(x64)
12    #define LIBSODIUM_PRODUCT_NAME "libsodium (x64)"
13#elif defined(Win32)
14    #define LIBSODIUM_PRODUCT_NAME "libsodium (x86)"
15#else
16    #define LIBSODIUM_PRODUCT_NAME "libsodium"
17#endif
18
19/////////////////////////////////////////////////////////////////////////////
20// English (United States) resources
21
22#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
23LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
24
25/////////////////////////////////////////////////////////////////////////////
26//
27// Version
28//
29
30VS_VERSION_INFO VERSIONINFO
31 FILEVERSION LIBSODIUM_VERSION_BIN
32 PRODUCTVERSION LIBSODIUM_VERSION_BIN
33 FILEFLAGSMASK 0x3fL
34#ifdef _DEBUG
35 FILEFLAGS 0x1L
36#else
37 FILEFLAGS 0x0L
38#endif
39 FILEOS 0x40004L
40 FILETYPE 0x7L
41 FILESUBTYPE 0x0L
42BEGIN
43    BLOCK "StringFileInfo"
44    BEGIN
45        BLOCK "040904b0"
46        BEGIN
47            VALUE "FileDescription", "The Sodium crypto library (libsodium) "
48            VALUE "FileVersion", LIBSODIUM_VERSION_STRING
49            VALUE "InternalName", "libsodium"
50            VALUE "LegalCopyright", "Copyright (c) 2017 The libsodium authors."
51            VALUE "OriginalFilename", "libsodium.dll"
52            VALUE "ProductName", LIBSODIUM_PRODUCT_NAME
53            VALUE "ProductVersion", LIBSODIUM_VERSION_STRING
54        END
55    END
56    BLOCK "VarFileInfo"
57    BEGIN
58        VALUE "Translation", 0x409, 1200
59    END
60END
61
62#endif    // English (United States) resources
63/////////////////////////////////////////////////////////////////////////////
64