Line | |
---|
1 | project.name = "Ode.NET" |
---|
2 | |
---|
3 | -- Target checking |
---|
4 | |
---|
5 | if (target and target ~= "vs2005" and target ~= "gnu") then |
---|
6 | error("Ode.NET requires a .NET 2.0 compiler") |
---|
7 | end |
---|
8 | |
---|
9 | |
---|
10 | -- Project options |
---|
11 | |
---|
12 | addoption("with-doubles", "Use double instead of float as base numeric type") |
---|
13 | addoption("with-tests", "Builds the test applications and DrawStuff library") |
---|
14 | addoption("no-unsafe", "Exclude functions using unsafe code (dBodyGetPosition, etc.)") |
---|
15 | |
---|
16 | |
---|
17 | -- Build settings |
---|
18 | |
---|
19 | project.config["Debug"].bindir = "bin/Debug" |
---|
20 | project.config["Release"].bindir = "bin/Release" |
---|
21 | |
---|
22 | |
---|
23 | -- Packages |
---|
24 | |
---|
25 | if (options["with-tests"]) then |
---|
26 | dopackage("Tests") |
---|
27 | dopackage("Drawstuff") |
---|
28 | end |
---|
29 | dopackage("Ode") |
---|
Note: See
TracBrowser
for help on using the repository browser.