aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua')
-rw-r--r--libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua b/libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua
new file mode 100644
index 0000000..b53d54c
--- /dev/null
+++ b/libraries/ode-0.9/contrib/Ode.NET/Ode/premake.lua
@@ -0,0 +1,31 @@
1package.name = "Ode.NET"
2package.kind = "dll"
3package.language = "c#"
4
5-- Build options
6
7 package.defines = { }
8
9 if (options["with-doubles"]) then
10 table.insert(package.defines, "dDOUBLE")
11 else
12 table.insert(package.defines, "dSINGLE")
13 end
14
15 if (options["no-unsafe"]) then
16 table.insert(package.defines, "dNO_UNSAFE_CODE")
17 else
18 package.buildflags = { "unsafe" }
19 end
20
21
22-- Files & Libraries
23
24 package.files = {
25 "AssemblyInfo.cs",
26 "Ode.cs"
27 }
28
29 package.links = {
30 "System"
31 }