diff options
Diffstat (limited to 'libraries/ode-0.9/contrib/Ode.NET/premake.lua')
-rw-r--r-- | libraries/ode-0.9/contrib/Ode.NET/premake.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/Ode.NET/premake.lua b/libraries/ode-0.9/contrib/Ode.NET/premake.lua new file mode 100644 index 0000000..c25a017 --- /dev/null +++ b/libraries/ode-0.9/contrib/Ode.NET/premake.lua | |||
@@ -0,0 +1,29 @@ | |||
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") | ||