From 79eca25c945a535a7a0325999034bae17da92412 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:15:33 +0000 Subject: resubmitting ode --- libraries/ode-0.9/contrib/Ode.NET/premake.lua | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libraries/ode-0.9/contrib/Ode.NET/premake.lua (limited to 'libraries/ode-0.9/contrib/Ode.NET/premake.lua') 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 @@ +project.name = "Ode.NET" + +-- Target checking + + if (target and target ~= "vs2005" and target ~= "gnu") then + error("Ode.NET requires a .NET 2.0 compiler") + end + + +-- Project options + + addoption("with-doubles", "Use double instead of float as base numeric type") + addoption("with-tests", "Builds the test applications and DrawStuff library") + addoption("no-unsafe", "Exclude functions using unsafe code (dBodyGetPosition, etc.)") + + +-- Build settings + + project.config["Debug"].bindir = "bin/Debug" + project.config["Release"].bindir = "bin/Release" + + +-- Packages + + if (options["with-tests"]) then + dopackage("Tests") + dopackage("Drawstuff") + end + dopackage("Ode") -- cgit v1.1