From: Tim R. <ti...@us...> - 2004-09-13 17:13:59
|
Update of /cvsroot/csdopenglnet/csdOpenGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1345 Modified Files: NAnt.build Log Message: strong names can now be created optional by nant flag Index: NAnt.build =================================================================== RCS file: /cvsroot/csdopenglnet/csdOpenGL/NAnt.build,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** NAnt.build 11 Sep 2004 22:42:19 -0000 1.10 --- NAnt.build 13 Sep 2004 17:13:16 -0000 1.11 *************** *** 2,10 **** <project name="Math Library" default="build" basedir="."> <description>Basic Math Library</description> ! <property name="build.number" value="${math::abs(math::floor(timespan::get-total-days(datetime::now() - datetime::parse('01/01/2000'))))}" /> <property name="project.version" value="0.2.1" overwrite="false" /> - <property name="build.dir" value="${nant.project.basedir}/build/" /> - <property name="debug" value="false" dynamic="true" overwrite="false" /> <property name="gtk" value="true" dynamic="true" overwrite="false"/> <property name="gcc" value="/usr/bin/gcc" dynamic="true" overwrite="false"/> --- 2,8 ---- <project name="Math Library" default="build" basedir="."> <description>Basic Math Library</description> ! <property name="build.number" value="${math::abs(math::floor(timespan::get-total-days(datetime::now() - datetime::parse('01/01/2000'))))}" /> <property name="project.version" value="0.2.1" overwrite="false" /> <property name="gtk" value="true" dynamic="true" overwrite="false"/> <property name="gcc" value="/usr/bin/gcc" dynamic="true" overwrite="false"/> *************** *** 12,17 **** <property name="gen" value="${nant.project.basedir}/generator/generator.exe" /> <property name="cg" value="true" dynamic="true" overwrite="false"/> ! <property name="sign" value="false" dynamic="true" overwrite="false" /> ! <property name="keyfile" value="${nant.project.basedir}/PublicKeyFile.snk" overwrite="false" /> <target name="clean" description="remove all generated files"> --- 10,94 ---- <property name="gen" value="${nant.project.basedir}/generator/generator.exe" /> <property name="cg" value="true" dynamic="true" overwrite="false"/> ! <property name="build.dir" value="${nant.project.basedir}/build/" /> ! <property name="build.debug" value="false" /> ! <property name="build.debug.define" value="RELEASE;TRACE" /> ! <property name="build.optimize" value="true" /> ! <property name="build.strong" value="false" /> ! <property name="build.strong.define" value="" /> ! ! <target name="documentation" description="Creates documentation."> ! <echo message="Start documentation creation in ${build.dir}" /> ! <ndoc failonerror="false"> ! <assemblies basedir="${build.dir}"> ! <include name="csDragons.Math.dll" /> ! <include name="csDragons.OpenGL.Cg.gll" /> ! <include name="csDragons.OpenGL.dll" /> ! <include name="csDragons.OpenGL.Platform.dll" /> ! <include name="csDragons.OpenGL.Tools" /> ! </assemblies> ! <documenters> ! <documenter name="MSDN"> ! <property name="OutputDirectory" value="${build.dir}" /> ! <property name="HtmlHelpName" value="${nant.project.name}" /> ! <property name="IncludeFavorites" value="False" /> ! <property name="Title" value="${nant.project.name} SDK Documentation" /> ! <property name="SplitTOCs" value="False" /> ! <property name="DefaulTOC" value="" /> ! <property name="ShowVisualBasic" value="True" /> ! <property name="AutoDocumentConstructors" value="True" /> ! <property name="ShowMissingSummaries" value="${build.debug}" /> ! <property name="ShowMissingRemarks" value="${build.debug}" /> ! <property name="ShowMissingParams" value="${build.debug}" /> ! <property name="ShowMissingReturns" value="${build.debug}" /> ! <property name="ShowMissingValues" value="${build.debug}" /> ! <property name="DocumentInternals" value="False" /> ! <property name="DocumentPrivates" value="False" /> ! <property name="DocumentProtected" value="True" /> ! <property name="DocumentEmptyNamespaces" value="${build.debug}" /> ! <property name="IncludeAssemblyVersion" value="True" /> ! <property name="CopyrightText" value="Copyright (C)2004 by Tim Raedisch and Kai Reichert" /> ! <property name="CopyrightHref" value="http://www.csdragons.de" /> ! </documenter> ! </documenters> ! </ndoc> ! </target> ! ! <!-- configuration targets --> ! <target name="set-strong"> ! <echo message="Configuring for a 'strong' build." /> ! <property name="build.strong" value="true" /> ! <property name="build.strong.define" value="STRONG" /> ! </target> ! ! <target name="set-debug"> ! <echo message="Configuring for a 'debug' build." /> ! <property name="build.debug" value="true" /> ! <property name="build.debug.define" value="DEBUG;TRACE" /> ! <property name="build.optimize" value="false" /> ! <property name="build.strong" value="false" /> ! <property name="build.strong.define" value="" /> ! </target> ! ! <target name="set-release"> ! <echo message="Configuring for a 'release' build." /> ! <property name="build.debug" value="false" /> ! <property name="build.debug.define" value="RELEASE;TRACE" /> ! <property name="build.optimize" value="true" /> ! <property name="build.strong" value="false" /> ! <property name="build.strong.define" value="" /> ! </target> ! ! <target name="buildinfo"> ! <echo message="Cg support: ${cg}" /> ! <echo message="Gtk# support: ${gtk}" /> ! <echo message=" Assembly directory: ${gtkdir}" if="${gtk}" /> ! <echo message="GCC: ${gcc}" /> ! <echo message="Output directory: ${build.dir}" /> ! <echo message="Debug output: ${build.debug}" /> ! <echo message=" Defines: ${build.debug.define}" if="${build.debug}"/> ! <echo message="Optimization: ${build.optimize}" /> ! <echo message="Create strong name: ${build.strong}" /> ! <echo message=" Defines: ${build.debug.define}" if="${build.strong}" /> ! </target> <target name="clean" description="remove all generated files"> *************** *** 26,43 **** </target> ! <target name="build" description="compiles the source code"> ! <mkdir dir="${build.dir}" /> <nant buildfile="cbonding/cbonding.build" target="build" /> <nant buildfile="generator/generator.build" target="build" /> <nant buildfile="GL/GL.build" target="build" /> <nant buildfile="Cg/Cg.build" target="build" if="${cg}"/> <nant buildfile="math/math.build" target="build" /> <nant buildfile="tools/tools.build" target="build" /> - <nant buildfile="platform/platform.build" target="build" /> </target> ! <target name="samples" description="compiles examples"> <nant buildfile="samples/samples.build" target="build" /> <nant buildfile="Cg/Cg.build" target="samples" if="${cg}"/> </target> </project> --- 103,142 ---- </target> ! <target name="build.cbonding" description="build binding c libraries" depends="buildinfo"> <nant buildfile="cbonding/cbonding.build" target="build" /> + </target> + + <target name="build.generator" description="build wrapper generator" depends="buildinfo"> <nant buildfile="generator/generator.build" target="build" /> + </target> + + <target name="build.GL" description="build OpenGL wrapper" depends="buildinfo build.generator"> <nant buildfile="GL/GL.build" target="build" /> + </target> + + <target name="build.Cg" depends="build.GL buildinfo build.generator" description="build Cg wrapper"> <nant buildfile="Cg/Cg.build" target="build" if="${cg}"/> + </target> + + <target name="build.math" description="build math tools" depends="buildinfo"> <nant buildfile="math/math.build" target="build" /> + </target> + + <target name="build.tools" description="build OpenGL# tools" depends="buildinfo"> <nant buildfile="tools/tools.build" target="build" /> </target> ! <target name="build.platform" depends="build.GL buildinfo" descripton="build platform specific bindgings"> ! <nant buildfile="platform/platform.build" target="build"/> ! </target> ! ! <target name="build" description="compiles the source code" depends="build.cbonding build.generator build.GL build.Cg build.math build.tools build.platform buildinfo"> ! <mkdir dir="${build.dir}" /> ! </target> ! ! <target name="build.samples" description="compiles examples" depends="buildinfo" > <nant buildfile="samples/samples.build" target="build" /> <nant buildfile="Cg/Cg.build" target="samples" if="${cg}"/> </target> + </project> |