summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules
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/sandbox/modules
parent4d2231a5136ddf5dca5398feaccc2d82bb56e1e0 (diff)
check include dependence
Diffstat (limited to 'xmake/core/sandbox/modules')
-rw-r--r--xmake/core/sandbox/modules/import/core/tool/compiler.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/import/core/tool/compiler.lua b/xmake/core/sandbox/modules/import/core/tool/compiler.lua
index 71059ad16..340b32734 100644
--- a/xmake/core/sandbox/modules/import/core/tool/compiler.lua
+++ b/xmake/core/sandbox/modules/import/core/tool/compiler.lua
@@ -42,7 +42,7 @@ function sandbox_core_tool_compiler.compcmd(sourcefile, objectfile, target)
end
-- compile source file
-function sandbox_core_tool_compiler.compile(sourcefile, objectfile, target, multitasking)
+function sandbox_core_tool_compiler.compile(sourcefile, objectfile, incdepfile, target, multitasking)
-- get the compiler instance
local instance, errors = compiler.load(compiler.kind_of_file(sourcefile))
@@ -51,7 +51,7 @@ function sandbox_core_tool_compiler.compile(sourcefile, objectfile, target, mult
end
-- compile it
- local ok, errors = instance:compile(sourcefile, objectfile, target, multitasking)
+ local ok, errors = instance:compile(sourcefile, objectfile, incdepfile, target, multitasking)
if not ok then
raise(errors)
end