From 0c568de2e355ade7ba1965437e9dc9d6459eed5c Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Thu, 21 Jan 2010 01:52:52 +0000 Subject: r95: added .rc file for DLL (Michael Plante & Orin Eman) --- libusb-dll_2008.vcproj | 24 ++++++++--- msvc/libusb-1.0.rc | 109 +++++++++++++++++++++++++++++++++++++++++++++++++ msvc/resource.h | 15 +++++++ 3 files changed, 142 insertions(+), 6 deletions(-) create mode 100644 msvc/libusb-1.0.rc create mode 100644 msvc/resource.h diff --git a/libusb-dll_2008.vcproj b/libusb-dll_2008.vcproj index 0c0b1e5..fdc1194 100644 --- a/libusb-dll_2008.vcproj +++ b/libusb-dll_2008.vcproj @@ -66,6 +66,7 @@ OutputFile="$(OutDir)\libusb-1.0_debug.dll" AdditionalLibraryDirectories=".\msvc" ModuleDefinitionFile="libusb\libusb-1.0.def" + EmbedManagedResourceFile="libusb-1.0.rc" GenerateDebugInformation="true" /> - - @@ -372,6 +372,18 @@ > + + + + + + diff --git a/msvc/libusb-1.0.rc b/msvc/libusb-1.0.rc new file mode 100644 index 0000000..84ca4d6 --- /dev/null +++ b/msvc/libusb-1.0.rc @@ -0,0 +1,109 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,5,0 + PRODUCTVERSION 1,0,5,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "libusb.org\0" + VALUE "FileDescription", "libusb\0" + VALUE "FileVersion", "1, 0, 5, 0\0" + VALUE "InternalName", "libusb\0" + VALUE "LegalCopyright", "(c) 2010 the Libusb Team, GNU LGPL v2.1 or later.\0" + VALUE "LegalTrademarks", "http://www.gnu.org/licenses/lgpl-2.1.html\0" + VALUE "OriginalFilename", "libusb-1.0_debug.dll\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "libusb\0" + VALUE "ProductVersion", "1, 0, 5, 0\0" + VALUE "SpecialBuild", "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/msvc/resource.h b/msvc/resource.h new file mode 100644 index 0000000..d973f20 --- /dev/null +++ b/msvc/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by libusb-1.0.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif -- cgit v1.2.1