Browse Source

Minor build fixes.

pull/696/head
Joao Matos 9 years ago
parent
commit
e8064e3f4e
  1. 7
      build/Tests.lua
  2. 4
      examples/SDL/premake5.lua
  3. 2
      src/CppParser/Bindings/premake5.lua
  4. 9
      src/Generator/premake5.lua

7
build/Tests.lua

@ -6,7 +6,12 @@ function SetupExampleProject() @@ -6,7 +6,12 @@ function SetupExampleProject()
debugdir "."
files { "**.cs", "./*.lua" }
links { "CppSharp.AST", "CppSharp.Generator" }
links
{
"CppSharp.AST",
"CppSharp.Generator",
"CppSharp.Parser"
}
SetupManagedProject()
SetupParser()

4
examples/SDL/premake4.lua → examples/SDL/premake5.lua

@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
include "../../build/Tests.lua"
project "SDL"
SetupExampleProject()
if config.ExampleTests then
if config ~= nil and config.ExampleTests then
project "SDL.Tests"

2
src/CppParser/Bindings/premake5.lua

@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
include "../../../build/LLVM.lua"
project "CppSharp.Parser.CSharp"
SetupManagedProject()

9
src/Generator/premake5.lua

@ -8,7 +8,14 @@ project "CppSharp.Generator" @@ -8,7 +8,14 @@ project "CppSharp.Generator"
files { "**.cs", "**verbs.txt" }
excludes { "Filter.cs" }
links { "System", "System.Core", "CppSharp", "CppSharp.AST", "CppSharp.Parser" }
links
{
"System",
"System.Core",
"CppSharp",
"CppSharp.AST",
"CppSharp.Parser"
}
SetupParser()

Loading…
Cancel
Save