Browse Source

Use the absolute target directory when copying Clang headers.

pull/513/merge
triton 10 years ago
parent
commit
535536d1c1
  1. 2
      src/CppParser/premake4.lua

2
src/CppParser/premake4.lua

@ -18,7 +18,7 @@ project "CppSharp.CppParser" @@ -18,7 +18,7 @@ project "CppSharp.CppParser"
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}" }
postbuildcommands { copy .. " " .. headers .. " " .. path.getabsolute(targetdir()) }
end
configuration "vs*"

Loading…
Cancel
Save