mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
758 B
27 lines
758 B
function SetupWrapper(name) |
|
project(name .. ".CSharp") |
|
SetupManagedTestProject() |
|
|
|
dependson { name .. ".Native", "NamespacesDerived.Gen" } |
|
local runtimeExe = os.is("windows") and "" or "mono --debug " |
|
if string.starts(action, "vs") then |
|
local exePath = SafePath("$(TargetDir)NamespacesDerived.Gen.exe") |
|
prebuildcommands { runtimeExe .. exePath } |
|
else |
|
local exePath = SafePath("%{cfg.buildtarget.directory}/NamespacesDerived.Gen.exe") |
|
prebuildcommands { runtimeExe .. exePath } |
|
end |
|
|
|
files |
|
{ |
|
path.join(gendir, "NamespacesDerived", name .. ".cs"), |
|
} |
|
|
|
linktable = { "CppSharp.Runtime" } |
|
|
|
links(linktable) |
|
end |
|
|
|
group "Tests/Namespaces" |
|
SetupTestNativeProject("NamespacesBase") |
|
SetupWrapper("NamespacesBase") |