You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
4.6 KiB
112 lines
4.6 KiB
/*
|
|
[The "BSD licence"]
|
|
Copyright (c) 2005-2007 Kunle Odutola
|
|
All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
1. Redistributions of source code MUST RETAIN the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
2. Redistributions in binary form MUST REPRODUCE the above copyright
|
|
notice, this list of conditions and the following disclaimer in
|
|
the documentation and/or other materials provided with the
|
|
distribution.
|
|
3. The name of the author may not be used to endorse or promote products
|
|
derived from this software without specific prior WRITTEN permission.
|
|
4. Unless explicitly state otherwise, any contribution intentionally
|
|
submitted for inclusion in this work to the copyright owner or licensor
|
|
shall be under the terms and conditions of this license, without any
|
|
additional terms or conditions.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
|
|
// TODO: Review the values of the assembly attributes
|
|
|
|
[assembly: AssemblyTitle("ANTLR3.Runtime.NET")]
|
|
[assembly: AssemblyDescription("ANTLR3 C# Runtime for .NET")]
|
|
[assembly: AssemblyCompany("")]
|
|
[assembly: AssemblyProduct("")]
|
|
[assembly: AssemblyCopyright("Copyright (c) 2005-2007 Kunle Odutola, 2007-2009 Johannes Luber")]
|
|
[assembly: AssemblyTrademark("")]
|
|
[assembly: AssemblyCulture("")]
|
|
|
|
// Allow the use of the assembly in medium trust for websites
|
|
[assembly: System.Security.AllowPartiallyTrustedCallers]
|
|
|
|
|
|
// Version information for an assembly consists of the following four values:
|
|
//
|
|
// Major Version
|
|
// Minor Version
|
|
// Revision
|
|
// Build Number
|
|
//
|
|
// You can specify all the values or you can default the Revision and Build Numbers
|
|
// by using the '*' as shown below:
|
|
|
|
[assembly: AssemblyVersion("3.1.3.*")]
|
|
|
|
//
|
|
// In order to sign your assembly you must specify a key to use. Refer to the
|
|
// Microsoft .NET Framework documentation for more information on assembly signing.
|
|
//
|
|
// Use the attributes below to control which key is used for signing.
|
|
//
|
|
// Notes:
|
|
// (*) If no key is specified, the assembly is not signed.
|
|
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
|
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
|
// a key.
|
|
// (*) If the KeyFile and the KeyName values are both specified, the
|
|
// following processing occurs:
|
|
// (1) If the KeyName can be found in the CSP, that key is used.
|
|
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
|
// in the KeyFile is installed into the CSP and used.
|
|
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
|
// When specifying the KeyFile, the location of the KeyFile should be
|
|
// relative to the project output directory which is
|
|
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
|
// located in the project directory, you would specify the AssemblyKeyFile
|
|
// attribute as [assembly: AssemblyKeyFile("..\..\mykey.snk")]
|
|
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
|
// documentation for more information on this.
|
|
//
|
|
|
|
[assembly: AssemblyConfiguration("")]
|
|
[assembly: AssemblyKeyName("")]
|
|
|
|
#if STRONG_NAME
|
|
// This strongly suggests that the build is a VS.NET build.
|
|
[assembly: AssemblyDelaySign(false)]
|
|
[assembly: AssemblyKeyFile("../../../Antlr3_KeyPair.snk")]
|
|
#elif NANT_STRONGNAME
|
|
// This strongly suggests that the build is a NANT build.
|
|
[assembly: AssemblyDelaySign(false)]
|
|
[assembly: AssemblyKeyFile("../Antlr3_KeyPair.snk")]
|
|
#else
|
|
// This should never happen as the assembly should always be strong named.
|
|
[assembly: AssemblyDelaySign(false)]
|
|
[assembly: AssemblyKeyFile("")]
|
|
#endif
|
|
|
|
|