From e85c85fac059063e9e1ef6b37126a4b619db4dd5 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 31 Jul 2012 02:07:50 +0000 Subject: [PATCH] Add version resource to samlsign --- samlsign/Makefile.am | 2 +- samlsign/resource.h | 35 +++++++++++++++ samlsign/samlsign.rc | 109 ++++++++++++++++++++++++++++++++++++++++++++++ samlsign/samlsign.vcxproj | 6 +++ 4 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 samlsign/resource.h create mode 100644 samlsign/samlsign.rc diff --git a/samlsign/Makefile.am b/samlsign/Makefile.am index 4d85e6f..0aa8f18 100644 --- a/samlsign/Makefile.am +++ b/samlsign/Makefile.am @@ -6,4 +6,4 @@ samlsign_SOURCES = samlsign.cpp samlsign_LDADD = $(top_builddir)/saml/libsaml.la -EXTRA_DIST = samlsign.vcxproj +EXTRA_DIST = samlsign.vcxproj resource.h samlsign.rc \ No newline at end of file diff --git a/samlsign/resource.h b/samlsign/resource.h new file mode 100644 index 0000000..1818905 --- /dev/null +++ b/samlsign/resource.h @@ -0,0 +1,35 @@ +/** + * Licensed to the University Corporation for Advanced Internet + * Development, Inc. (UCAID) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. + * + * UCAID licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the + * License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. + */ + +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by utility resource scripts +// + +// 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/samlsign/samlsign.rc b/samlsign/samlsign.rc new file mode 100644 index 0000000..38f2e11 --- /dev/null +++ b/samlsign/samlsign.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 + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 2,5,0,0 + PRODUCTVERSION 2,5,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x1L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "Shibboleth Consortium\0" + VALUE "FileDescription", "OpenSAML Signature Utility\0" + VALUE "FileVersion", "2, 5, 0, 0\0" + VALUE "InternalName", "samlsign\0" + VALUE "LegalCopyright", "Copyright © 2012 UCAID\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename", "samlsign.exe\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "OpenSAML 2.5.0\0" + VALUE "ProductVersion", "2, 5, 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/samlsign/samlsign.vcxproj b/samlsign/samlsign.vcxproj index edcf283..8731933 100644 --- a/samlsign/samlsign.vcxproj +++ b/samlsign/samlsign.vcxproj @@ -179,6 +179,12 @@ false + + + + + + -- 2.1.4