aboutsummaryrefslogtreecommitdiff
path: root/cs-dotnet/default.bld
blob: 4bc324e3a9513c40e314df56bfab9855be948902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

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}");
        }
    }
}