/* * Copyright (C) 2007-2013 Xagasoft, All rights reserved. * * This file is part of the libgats library and is released under the * terms of the license contained in the file LICENSE. */ target "libgats.dll" { input files("src/*.cs"); profile "build" { execute("mcs -pkg:dotnet -target:library -out:${OUTPUT} ${INPUT}"); } } for TEST in files("src/tests/*.cs") do { target TEST.replace("src/tests/","").replace(".cs",".exe") { input TEST; requires "libgats.dll"; profile "build" { execute("mcs -pkg:dotnet -lib:. -r:libgats.dll -out:${OUTPUT} ${INPUT}"); } } }