diff options
| author | ruki <[email protected]> | 2022-08-04 00:43:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-04 00:43:24 +0800 |
| commit | 553bb39bd9a0394a19e0c23706611533ef2f8fa3 (patch) | |
| tree | a7f862997a84c719180a104033990e59c1951346 /xmake/rules/c++/modules/xmake.lua | |
| parent | 533fa58d9ed5c4fe63017342b3eba282ac72f12e (diff) | |
add some comments
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index 0c0f8cac9..a46947a53 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -134,6 +134,9 @@ rule("c++.build.modules.install") before_install(function (target) import("modules_support.common") + + -- we cannot use target:data("cxx.has_modules"), + -- because on_config will be not called when installing targets if common.contains_modules(target) then local sourcebatch = target:sourcebatches()["c++.build.modules.install"] if sourcebatch then |
