summaryrefslogtreecommitdiff
path: root/xmake/core/tool/compiler.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-10 10:18:05 +0800
committerruki <[email protected]>2016-07-10 10:18:05 +0800
commitfd39adb3d959e605370098a72ec7e92b462fce62 (patch)
tree392b866ab32e33cae167c95daa7bff7cfbb9767c /xmake/core/tool/compiler.lua
parent4d2231a5136ddf5dca5398feaccc2d82bb56e1e0 (diff)
check include dependence
Diffstat (limited to 'xmake/core/tool/compiler.lua')
-rw-r--r--xmake/core/tool/compiler.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index bb4aa2455..a523af449 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -399,7 +399,7 @@ function compiler:get(name)
end
-- compile the source file
-function compiler:compile(sourcefile, objectfile, target, multitasking)
+function compiler:compile(sourcefile, objectfile, incdepfile, target, multitasking)
-- get flags
local flags = nil
@@ -408,7 +408,7 @@ function compiler:compile(sourcefile, objectfile, target, multitasking)
end
-- compile it
- return sandbox.load(self:_tool().compile, sourcefile, objectfile, flags or "", multitasking)
+ return sandbox.load(self:_tool().compile, sourcefile, objectfile, incdepfile, flags or "", multitasking)
end
-- get the compile command