aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9\/contrib/Ode.NET/Tests/premake.lua
blob: 5253ae1759d72a686213dd3751000a1da2f1b1be (plain)
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
-- This function creates the test packages
function maketest(name)

  package = newpackage()
  package.name = name
  package.kind = "exe"
  package.language = "c#"

  if (options["with-doubles"]) then
    package.defines = { "dDOUBLE" }
  else
    package.defines = { "dSINGLE " }
  end

  package.links = { 
    "System", 
    "Ode.NET", 
    "Drawstuff.NET" 
  }

  package.files = {
    name .. ".cs"
  }

end

maketest("BoxStack")