From: Tim R. <ti...@us...> - 2004-09-11 17:26:29
|
Update of /cvsroot/csdopenglnet/csdOpenGL/platform/windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23493/platform/windows Modified Files: windows.build Log Message: assemblies are no longer signed AssemblyInfo is created by NAnt Index: windows.build =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/platform/windows/windows.build,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** windows.build 11 Sep 2004 12:35:01 -0000 1.1 --- windows.build 11 Sep 2004 17:26:19 -0000 1.2 *************** *** 1,8 **** <?xml version="1.0"?> <project name="Math Library" default="build" basedir="."> <description>Basic Math Library</description> <target name="clean" description="remove all generated files"> </target> ! <target name="build" description="compiles the source code"> </target> </project> \ No newline at end of file --- 1,51 ---- <?xml version="1.0"?> <project name="Math Library" default="build" basedir="."> + <description>Basic Math Library</description> + + <target name="create-assemblyinfo"> + <!-- ensure AssemblyInfo.cs is writable if it already exists --> + <attrib file="AssemblyInfo.cs" readonly="false" if="${file::exists('AssemblyInfo.cs')}" /> + <!-- generate the source file holding the assembly-level attributes --> + <asminfo output="AssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System" /> + <import name="System.Reflection" /> + <import name="System.Runtime.InteropServices" /> + </imports> + <attributes> + <attribute type="ComVisibleAttribute" value="false" /> + <attribute type="CLSCompliantAttribute" value="false" /> + <attribute type="AssemblyTitleAttribute" value="csDragons OpenGL# Windows-Platform-Bindings" /> + <attribute type="AssemblyDescriptionAttribute" value="A tool to build C# bindings" /> + <attribute type="AssemblyConfigurationAttribute" value="${framework::get-target-framework()}.${platform::get-name()}" /> + <attribute type="AssemblyCompanyAttribute" value="http://www.csdragons.de" /> + <attribute type="AssemblyProductAttribute" value="wrapper-generator" /> + <attribute type="AssemblyCopyrightAttribute" value="Copyright (C) 2004-${datetime::get-year(datetime::now())} Tim Raedisch and Kai Reichert" /> + <attribute type="AssemblyTrademarkAttribute" value="" /> + <attribute type="AssemblyCultureAttribute" value="" /> + <attribute type="AssemblyVersionAttribute" value="${project.version}.${build.number}" /> + <attribute type="AssemblyInformationalVersionAttribute" value="${project.version}" /> + </attributes> + </asminfo> + </target> + <target name="clean" description="remove all generated files"> + <delete file="${build.dir}/csDragons.OpenGL.Platform.dll" failonerror="false" /> </target> ! ! <target name="build" description="compiles the source code" depends="compile-assemblyinfo"> ! <csc target="library" output="${build.dir}/csDragons.OpenGL.Platform.dll" debug="${debug}"> ! <sources> ! <include name="AssemblyInfo.cs" /> ! <include name="../*.cs" /> ! </sources> ! <references> ! <lib> ! <include name="${build.dir}" /> ! </lib> ! <include name="csDragons.OpenGL.dll" /> ! </references> ! </csc> </target> </project> \ No newline at end of file |