diff options
author | dan miller | 2007-10-19 05:24:38 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:24:38 +0000 |
commit | f205de7847da7ae1c10212d82e7042d0100b4ce0 (patch) | |
tree | 9acc9608a6880502aaeda43af52c33e278e95b9c /libraries/ode-0.9/contrib/Ode.NET/premake.lua | |
parent | trying to fix my screwup part deux (diff) | |
download | opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.zip opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.gz opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.bz2 opensim-SC_OLD-f205de7847da7ae1c10212d82e7042d0100b4ce0.tar.xz |
from the start... checking in ode-0.9
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") | ||