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