Glatzemann 39dc83d33e added NAnt 0.91 build system to the lib folder
added build folder
added build script for release build of ANX.Framework and all RenderSystems
fixed some issues in projects regarding compiler directives
removed StockShaderCodeGenerator from Pre-Build-Events. Build the Stock shaders using NAnt target build_stock_shaders.
started Wiki documentation for custom build switches (e.g. extended mode)
2011-11-18 11:04:26 +00:00

29 lines
998 B
XML

<?xml version="1.0"?>
<project name="NAnt" default="run">
<!-- Compile the test task and add it then use it. -->
<target name="build">
<mkdir dir="bin" />
<csc target="library" output="bin/UserTasks.dll">
<sources>
<include name="UserTask.cs"/>
</sources>
<references basedir="${nant::get-base-directory()}">
<include name="NAnt.Core.dll"/>
</references>
</csc>
</target>
<target name="run" depends="build">
<!-- Dynamically load the tasks in the Task assembly. -->
<loadtasks assembly="bin/UserTasks.dll" />
<!-- Call our new task, converts the message attribute to all caps and displays it. -->
<usertask message="This string should be all caps"/>
</target>
<target name="clean">
<!-- Delete the build output. -->
<delete file="bin/UserTasks.dll" if="${file::exists('bin/UserTasks.dll')}" />
</target>
</project>