Browse Source

Build fixes.

pull/86/head
triton 12 years ago
parent
commit
a2ec94639b
  1. 17
      src/Core/premake4.lua
  2. 3
      src/Generator.Tests/Generator.Tests.lua
  3. 11
      src/Generator/Generator.lua
  4. 6
      src/Runtime/Runtime.lua

17
src/Core/premake4.lua

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
project "CppSharp"
kind "SharedLib"
language "C#"
files { "**.cs" }
links
{
"System",
"System.Core",
"CppSharp.AST",
}
SetupParser()
configuration "vs*"
location "."

3
src/Generator.Tests/Generator.Tests.lua

@ -16,9 +16,10 @@ project "CppSharp.Generator.Tests" @@ -16,9 +16,10 @@ project "CppSharp.Generator.Tests"
{
"System",
"System.Core",
"CppSharp",
"CppSharp.AST",
"CppSharp.Generator",
"CppSharp.Parser",
ParserLib,
"NUnit.Framework",
"NSubstitute"
}

11
src/Generator/Generator.lua

@ -4,17 +4,12 @@ project "CppSharp.Generator" @@ -4,17 +4,12 @@ project "CppSharp.Generator"
language "C#"
location "."
files { "**.cs", "**.bmp", "**.resx", "**.config", "**verbs.txt" }
files { "**.cs", "**verbs.txt" }
excludes { "Filter.cs" }
links { "System", "System.Core", "CppSharp.AST" }
links { "System", "System.Core", "CppSharp", "CppSharp.AST" }
configuration "vs*"
links { "CppSharp.Parser" }
configuration "not vs*"
dependson { "CppSharp.CppParser" }
links { "CppSharp.Parser.CSharp" }
SetupParser()
configuration '**verbs.txt'
buildaction "Embed"

6
src/Runtime/Runtime.lua

@ -2,8 +2,10 @@ project "CppSharp.Runtime" @@ -2,8 +2,10 @@ project "CppSharp.Runtime"
kind "SharedLib"
language "C#"
location "."
flags { "Unsafe" }
files { "**.cs" }
links { "System" }
configuration "vs*"
location "."

Loading…
Cancel
Save