diff options
| author | Arthur LAURENT <[email protected]> | 2022-08-07 02:36:46 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-08-07 02:36:46 +0200 |
| commit | c39a7060382929321332cf4fc3c00efa533ea758 (patch) | |
| tree | 11dafa302ef5372df854bcd3970221228eeabd97 /xmake/rules/c++/modules/xmake.lua | |
| parent | f085566ba853eb16c8658da1a38caa3a5e5728d3 (diff) | |
Use target:add("xxflags") instead of passing a file
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index 5676dcb10..4117004cc 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -99,6 +99,11 @@ rule("c++.build.modules.builder") common.build_modules_for_batchcmds(target, batchcmds, sourcebatch, modules, opt) end) + before_link(function(target) + import("modules_support.common") + common.append_headerunits_objectfiles(target) + end) + -- install modules rule("c++.build.modules.install") set_extensions(".mpp", ".mxx", ".cppm", ".ixx") |
