diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-14 23:11:45 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-14 23:11:45 +0000 |
commit | 9d86cba840252b451c4b86d9ea16c821b6c97245 (patch) | |
tree | 2933bdc33347592633b721ff68840f177692ed96 /cs-dotnet/default.bld | |
parent | 630ae7ac1b172395777a0d4920055751226402f8 (diff) | |
download | libgats-9d86cba840252b451c4b86d9ea16c821b6c97245.tar.gz libgats-9d86cba840252b451c4b86d9ea16c821b6c97245.tar.bz2 libgats-9d86cba840252b451c4b86d9ea16c821b6c97245.tar.xz libgats-9d86cba840252b451c4b86d9ea16c821b6c97245.zip |
Started a nice, native .net implementation in C#
Diffstat (limited to 'cs-dotnet/default.bld')
-rw-r--r-- | cs-dotnet/default.bld | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/cs-dotnet/default.bld b/cs-dotnet/default.bld new file mode 100644 index 0000000..4bc324e --- /dev/null +++ b/cs-dotnet/default.bld | |||
@@ -0,0 +1,25 @@ | |||
1 | |||
2 | target "libgats.dll" | ||
3 | { | ||
4 | input files("src/*.cs"); | ||
5 | |||
6 | profile "build" | ||
7 | { | ||
8 | execute("mcs -pkg:dotnet -target:library -out:${OUTPUT} ${INPUT}"); | ||
9 | } | ||
10 | } | ||
11 | |||
12 | for TEST in files("src/tests/*.cs") do | ||
13 | { | ||
14 | target TEST.replace("src/tests/","").replace(".cs",".exe") | ||
15 | { | ||
16 | input TEST; | ||
17 | requires "libgats.dll"; | ||
18 | |||
19 | profile "build" | ||
20 | { | ||
21 | execute("mcs -pkg:dotnet -lib:. -r:libgats.dll -out:${OUTPUT} ${INPUT}"); | ||
22 | } | ||
23 | } | ||
24 | } | ||
25 | |||