OpenSimMirror/libraries/ode-0.9/contrib/Ode.NET/Tests/premake.lua

28 lines
462 B
Lua
Raw Normal View History

2007-10-19 05:24:38 +00:00
-- 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")