|
|
|
@ -32,7 +32,7 @@ project "CppSharp.Parser.CSharp"
@@ -32,7 +32,7 @@ project "CppSharp.Parser.CSharp"
|
|
|
|
|
|
|
|
|
|
configuration "" |
|
|
|
|
|
|
|
|
|
project "Std-templates" |
|
|
|
|
project "Std-symbols" |
|
|
|
|
|
|
|
|
|
kind "SharedLib" |
|
|
|
|
language "C++" |
|
|
|
@ -45,18 +45,18 @@ project "Std-templates"
@@ -45,18 +45,18 @@ project "Std-templates"
|
|
|
|
|
configuration "*" |
|
|
|
|
|
|
|
|
|
if os.is("windows") then |
|
|
|
|
files { "i686-pc-win32-msvc/Std-templates.cpp" } |
|
|
|
|
files { "i686-pc-win32-msvc/Std-symbols.cpp" } |
|
|
|
|
elseif os.is("macosx") then |
|
|
|
|
local file = io.popen("lipo -info `which mono`") |
|
|
|
|
local output = file:read('*all') |
|
|
|
|
if string.find(output, "x86_64") then |
|
|
|
|
files { "x86_64-apple-darwin12.4.0/Std-templates.cpp" } |
|
|
|
|
files { "x86_64-apple-darwin12.4.0/Std-symbols.cpp" } |
|
|
|
|
else |
|
|
|
|
files { "i686-apple-darwin12.4.0/Std-templates.cpp" } |
|
|
|
|
files { "i686-apple-darwin12.4.0/Std-symbols.cpp" } |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
elseif os.is("linux") then |
|
|
|
|
files { "x86_64-linux-gnu/Std-templates.cpp" } |
|
|
|
|
files { "x86_64-linux-gnu/Std-symbols.cpp" } |
|
|
|
|
else |
|
|
|
|
print "Unknown architecture" |
|
|
|
|
end |
|
|
|
|