File: premake.lua

package info (click to toggle)
ode 2%3A0.14-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,588 kB
  • ctags: 16,003
  • sloc: cpp: 122,662; ansic: 14,257; cs: 1,879; makefile: 786; python: 618; sh: 165
file content (31 lines) | stat: -rw-r--r-- 546 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package.name = "Ode.NET"
package.kind = "dll"
package.language = "c#"

-- Build options

  package.defines = { }

  if (options["with-doubles"]) then
    table.insert(package.defines, "dDOUBLE")
  else
    table.insert(package.defines, "dSINGLE")
  end

  if (options["no-unsafe"]) then
    table.insert(package.defines, "dNO_UNSAFE_CODE")
  else
    package.buildflags = { "unsafe" }
  end
  

-- Files & Libraries

  package.files = {
    "AssemblyInfo.cs",
    "Ode.cs"
  }

  package.links = {
    "System"
  }