Browse Source

Fixed parser bindings build to correctly choose the correct generated bindings depending on the platform.

pull/155/merge
triton 12 years ago
parent
commit
5e3d86a33f
  1. 9
      src/CppParser/Bindings/premake4.lua

9
src/CppParser/Bindings/premake4.lua

@ -21,12 +21,19 @@ project "CppSharp.Parser.CSharp"
files files
{ {
"CSharp/**.cs",
"**.lua" "**.lua"
} }
links { "CppSharp.Runtime" } links { "CppSharp.Runtime" }
configuration "macosx"
files { "CSharp/i686-apple-darwin12.4.0/**.cs" }
configuration "not macosx"
files { "CSharp/*.cs" }
configuration ""
if string.starts(action, "vs") then if string.starts(action, "vs") then
project "CppSharp.Parser.CLI" project "CppSharp.Parser.CLI"

Loading…
Cancel
Save