|
|
@ -1,8 +1,18 @@ |
|
|
|
-- Tests/examples helpers |
|
|
|
-- Tests/examples helpers |
|
|
|
|
|
|
|
|
|
|
|
function SetupExampleProject() |
|
|
|
function SetupExampleProject() |
|
|
|
SetupNativeProjects() |
|
|
|
kind "ConsoleApp" |
|
|
|
location (path.join(builddir, "deps")) |
|
|
|
language "C#" |
|
|
|
|
|
|
|
debugdir "." |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
files { "**.cs", "./*.lua" } |
|
|
|
|
|
|
|
links { "CppSharp.AST", "CppSharp.Generator" } |
|
|
|
|
|
|
|
SetupParser() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location (path.join(builddir, "projects")) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configuration "vs*" |
|
|
|
|
|
|
|
location "." |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function SetupTestProject(name, file, lib) |
|
|
|
function SetupTestProject(name, file, lib) |
|
|
@ -41,8 +51,9 @@ function SetupTestGeneratorProject(name) |
|
|
|
{ |
|
|
|
{ |
|
|
|
"CppSharp.AST", |
|
|
|
"CppSharp.AST", |
|
|
|
"CppSharp.Generator", |
|
|
|
"CppSharp.Generator", |
|
|
|
"CppSharp.Parser", |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SetupParser() |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function SetupTestGeneratorBuildEvent(name) |
|
|
|
function SetupTestGeneratorBuildEvent(name) |
|
|
|