summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-09-06 22:38:17 +0800
committerruki <[email protected]>2019-09-06 09:49:43 +0800
commite5152e174154dde4f9fdd3f49047f36c0966d7ea (patch)
treeabd39a906a05aa856dbb18b4813d9181ae8a1fdd /xmake/rules/c++/xmake.lua
parentcfb90668f507c9b93fa3e53f78f8f46cdb136413 (diff)
impl clang modules
Diffstat (limited to 'xmake/rules/c++/xmake.lua')
-rw-r--r--xmake/rules/c++/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua
index 32bd19f5b..b1263a407 100644
--- a/xmake/rules/c++/xmake.lua
+++ b/xmake/rules/c++/xmake.lua
@@ -41,7 +41,7 @@ rule("c++.build.pcheader")
-- define rule: c++.build
rule("c++.build")
set_extensions(".cpp", ".cc", ".cxx")
- add_deps("c++.build.pcheader")
+ add_deps("c++.build.pcheader", "c++.build.modules")
on_build_files(function (target, sourcebatch, opt)
import("private.action.build.object")(target, sourcebatch, opt)
end)