Browse Source

Build the generator before test bindings for easy testing

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
bug-pass-const-char-star-no-copy
Dimitar Dobrev 7 years ago
parent
commit
86464a378d
  1. 4
      build/Tests.lua

4
build/Tests.lua

@ -161,7 +161,7 @@ function SetupTestProjectsCSharp(name, depends, extraFiles, suffix) @@ -161,7 +161,7 @@ function SetupTestProjectsCSharp(name, depends, extraFiles, suffix)
project(name .. ".CSharp")
SetupManagedTestProject()
dependson { name .. ".Gen", name .. ".Native" }
dependson { name .. ".Gen", name .. ".Native", "CppSharp.Generator" }
SetupTestGeneratorBuildEvent(name)
files
@ -206,7 +206,7 @@ function SetupTestProjectsCLI(name, extraFiles, suffix) @@ -206,7 +206,7 @@ function SetupTestProjectsCLI(name, extraFiles, suffix)
language "C++"
clr "On"
dependson { name .. ".Gen", name .. ".Native" }
dependson { name .. ".Gen", name .. ".Native", "CppSharp.Generator" }
SetupTestGeneratorBuildEvent(name)
if (suffix ~= nil) then

Loading…
Cancel
Save