|
|
|
@ -15,6 +15,12 @@ project "CppSharp.CppParser"
@@ -15,6 +15,12 @@ project "CppSharp.CppParser"
|
|
|
|
|
flags { common_flags } |
|
|
|
|
flags { "NoRTTI" } |
|
|
|
|
|
|
|
|
|
local copy = os.is_windows() and "xcopy /Q /E /Y /I" or "cp -rf"; |
|
|
|
|
local headers = path.getabsolute(path.join(LLVMRootDir, "lib/")) |
|
|
|
|
if os.isdir(headers) then |
|
|
|
|
postbuildcommands { copy .. " " .. headers .. " %{cfg.targetdir}" } |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
configuration "vs*" |
|
|
|
|
buildoptions { clang_msvc_flags } |
|
|
|
|
|
|
|
|
|