From 4cc0c9c03d7a735f756e45d248a314596858c3ce Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Wed, 12 Sep 2007 22:55:40 +0000 Subject: [PATCH] Add version resource. --- xmltooling/Makefile.am | 2 +- xmltooling/resource.h | 15 +++++ xmltooling/xmltooling-lite.vcproj | 6 ++ xmltooling/xmltooling.rc | 137 ++++++++++++++++++++++++++++++++++++++ xmltooling/xmltooling.vcproj | 5 ++ 5 files changed, 164 insertions(+), 1 deletion(-) create mode 100644 xmltooling/resource.h create mode 100644 xmltooling/xmltooling.rc diff --git a/xmltooling/Makefile.am b/xmltooling/Makefile.am index 1e80e16..511bc26 100644 --- a/xmltooling/Makefile.am +++ b/xmltooling/Makefile.am @@ -198,4 +198,4 @@ endif install-exec-hook: for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done -EXTRA_DIST = xmltooling.vcproj xmltooling-lite.vcproj config_pub.h.in config_pub_win32.h +EXTRA_DIST = xmltooling.vcproj xmltooling-lite.vcproj config_pub.h.in config_pub_win32.h resource.h xmltooling.rc diff --git a/xmltooling/resource.h b/xmltooling/resource.h new file mode 100644 index 0000000..8df1c2f --- /dev/null +++ b/xmltooling/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by shibsp.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 diff --git a/xmltooling/xmltooling-lite.vcproj b/xmltooling/xmltooling-lite.vcproj index 3e5af8a..cb1a9d7 100644 --- a/xmltooling/xmltooling-lite.vcproj +++ b/xmltooling/xmltooling-lite.vcproj @@ -56,6 +56,7 @@ /> + + diff --git a/xmltooling/xmltooling.rc b/xmltooling/xmltooling.rc new file mode 100644 index 0000000..4c09635 --- /dev/null +++ b/xmltooling/xmltooling.rc @@ -0,0 +1,137 @@ +//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 + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 2,0,0,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", "Internet2\0" +#ifdef XMLTOOLING_LITE + VALUE "FileDescription", "OpenSAML XMLTooling-Lite Library\0" +#else + VALUE "FileDescription", "OpenSAML XMLTooling Library\0" +#endif + VALUE "FileVersion", "1, 0, 0, 0\0" +#ifdef XMLTOOLING_LITE +#ifdef _DEBUG + VALUE "InternalName", "xmltooling-lite1_0D\0" +#else + VALUE "InternalName", "xmltooling-lite1_0\0" +#endif +#else +#ifdef _DEBUG + VALUE "InternalName", "xmltooling1_0D\0" +#else + VALUE "InternalName", "xmltooling1_0\0" +#endif +#endif + VALUE "LegalCopyright", "Copyright © 2007 Internet2\0" + VALUE "LegalTrademarks", "\0" +#ifdef XMLTOOLING_LITE +#ifdef _DEBUG + VALUE "OriginalFilename", "xmltooling-lite1_0D.dll\0" +#else + VALUE "OriginalFilename", "xmltooling-lite1_0.dll\0" +#endif +#else +#ifdef _DEBUG + VALUE "OriginalFilename", "xmltooling1_0D.dll\0" +#else + VALUE "OriginalFilename", "xmltooling1_0.dll\0" +#endif +#endif + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "OpenSAML 2.0\0" + VALUE "ProductVersion", "2, 0, 0, 0\0" + VALUE "SpecialBuild", "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + + +#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 + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/xmltooling/xmltooling.vcproj b/xmltooling/xmltooling.vcproj index 405b344..070fba3 100644 --- a/xmltooling/xmltooling.vcproj +++ b/xmltooling/xmltooling.vcproj @@ -56,6 +56,7 @@ /> + + -- 2.1.4