mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.3 KiB
79 lines
1.3 KiB
clang_msvc_flags = |
|
{ |
|
"/wd4146", "/wd4244", "/wd4800", "/wd4345", |
|
"/wd4355", "/wd4996", "/wd4624", "/wd4291", |
|
"/wd4251" |
|
} |
|
|
|
if not (string.starts(action, "vs") and not os.is_windows()) then |
|
|
|
project "CppSharp.CppParser" |
|
|
|
kind "SharedLib" |
|
language "C++" |
|
SetupNativeProject() |
|
flags { common_flags } |
|
flags { "NoRTTI" } |
|
|
|
configuration "vs*" |
|
buildoptions { clang_msvc_flags } |
|
files { "VSLookup.cpp" } |
|
|
|
configuration "*" |
|
|
|
files |
|
{ |
|
"*.h", |
|
"*.cpp", |
|
"*.lua" |
|
} |
|
|
|
SetupLLVMLibs() |
|
|
|
configuration "*" |
|
|
|
links |
|
{ |
|
"clangAnalysis", |
|
"clangAST", |
|
"clangBasic", |
|
"clangCodeGen", |
|
"clangDriver", |
|
"clangEdit", |
|
"clangFrontend", |
|
"clangLex", |
|
"clangParse", |
|
"clangSema", |
|
"clangSerialization", |
|
"LLVMAnalysis", |
|
"LLVMAsmParser", |
|
"LLVMBitReader", |
|
"LLVMBitWriter", |
|
"LLVMCodeGen", |
|
"LLVMCore", |
|
"LLVMipa", |
|
"LLVMipo", |
|
"LLVMInstCombine", |
|
"LLVMInstrumentation", |
|
"LLVMIRReader", |
|
"LLVMLinker", |
|
"LLVMMC", |
|
"LLVMMCParser", |
|
"LLVMObjCARCOpts", |
|
"LLVMObject", |
|
"LLVMOption", |
|
"LLVMScalarOpts", |
|
"LLVMSupport", |
|
"LLVMTarget", |
|
"LLVMTransformUtils", |
|
"LLVMVectorize", |
|
"LLVMX86AsmParser", |
|
"LLVMX86AsmPrinter", |
|
"LLVMX86Desc", |
|
"LLVMX86Info", |
|
"LLVMX86Utils", |
|
} |
|
|
|
end |
|
|
|
include ("Bindings") |