Browse Source

Prevent projects from picking up obj files that are generated sometimes (#1508)

pull/1509/head
josetr 5 years ago committed by GitHub
parent
commit
777f011ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      build/Tests.lua
  2. 1
      src/CLI/premake5.lua
  3. 1
      src/Core/premake5.lua
  4. 1
      src/Generator.Tests/premake5.lua
  5. 2
      src/Generator/premake5.lua
  6. 1
      src/Parser/premake5.lua
  7. 1
      src/Runtime/premake5.lua

1
build/Tests.lua

@ -35,6 +35,7 @@ function SetupExampleProject() @@ -35,6 +35,7 @@ function SetupExampleProject()
debugdir "."
files { "**.cs", "./*.lua" }
excludes { "obj/**" }
links
{
"CppSharp",

1
src/CLI/premake5.lua

@ -6,6 +6,7 @@ project "CppSharp.CLI" @@ -6,6 +6,7 @@ project "CppSharp.CLI"
language "C#"
files { "**.cs" }
excludes { "obj/**" }
vpaths { ["*"] = "*" }
links

1
src/Core/premake5.lua

@ -7,6 +7,7 @@ project "CppSharp" @@ -7,6 +7,7 @@ project "CppSharp"
clr "Unsafe"
files { "**.cs" }
excludes { "obj/**" }
vpaths { ["*"] = "*" }
links

1
src/Generator.Tests/premake5.lua

@ -4,6 +4,7 @@ project "CppSharp.Generator.Tests" @@ -4,6 +4,7 @@ project "CppSharp.Generator.Tests"
SetupManagedProject()
files { "**.cs" }
excludes { "obj/**" }
vpaths { ["*"] = "*" }
libdirs

2
src/Generator/premake5.lua

@ -6,7 +6,7 @@ project "CppSharp.Generator" @@ -6,7 +6,7 @@ project "CppSharp.Generator"
language "C#"
files { "**.cs", "**verbs.txt" }
excludes { "Filter.cs" }
excludes { "obj/**/*", "Filter.cs" }
vpaths { ["*"] = "*" }
dependson { "Std-symbols" }

1
src/Parser/premake5.lua

@ -24,6 +24,7 @@ project "CppSharp.Parser" @@ -24,6 +24,7 @@ project "CppSharp.Parser"
clr "Unsafe"
files { "**.cs" }
excludes { "obj/**" }
removefiles { "BuildConfig.cs" }
if generate_build_config == true then

1
src/Runtime/premake5.lua

@ -6,6 +6,7 @@ project "CppSharp.Runtime" @@ -6,6 +6,7 @@ project "CppSharp.Runtime"
clr "Unsafe"
files { "**.cs" }
excludes { "obj/**" }
vpaths { ["*"] = "*" }
filter { "action:not netcore"}

Loading…
Cancel
Save