aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/Ode.NET/premake.lua
diff options
context:
space:
mode:
authordan miller2007-10-19 05:15:33 +0000
committerdan miller2007-10-19 05:15:33 +0000
commit79eca25c945a535a7a0325999034bae17da92412 (patch)
tree40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/contrib/Ode.NET/premake.lua
parentadding ode source to /libraries (diff)
downloadopensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.zip
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.gz
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.bz2
opensim-SC_OLD-79eca25c945a535a7a0325999034bae17da92412.tar.xz
resubmitting ode
Diffstat (limited to 'libraries/ode-0.9/contrib/Ode.NET/premake.lua')
-rw-r--r--libraries/ode-0.9/contrib/Ode.NET/premake.lua29
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 @@
1project.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")