source:
code/branches/ode/ode-0.9/contrib/Ode.NET/Tests/premake.lua
@
216
Last change on this file since 216 was 216, checked in by mathiask, 17 years ago | |
---|---|
File size: 462 bytes |
Line | |
---|---|
1 | -- This function creates the test packages |
2 | function maketest(name) |
3 | |
4 | package = newpackage() |
5 | package.name = name |
6 | package.kind = "exe" |
7 | package.language = "c#" |
8 | |
9 | if (options["with-doubles"]) then |
10 | package.defines = { "dDOUBLE" } |
11 | else |
12 | package.defines = { "dSINGLE " } |
13 | end |
14 | |
15 | package.links = { |
16 | "System", |
17 | "Ode.NET", |
18 | "Drawstuff.NET" |
19 | } |
20 | |
21 | package.files = { |
22 | name .. ".cs" |
23 | } |
24 | |
25 | end |
26 | |
27 | maketest("BoxStack") |
Note: See TracBrowser
for help on using the repository browser.