diff options
| author | ruki <[email protected]> | 2022-08-04 00:45:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-04 00:45:46 +0800 |
| commit | 110a916cfc9e9a95bc2c3784725cb47c3fd1c762 (patch) | |
| tree | 473570de557c437670bf76f59607af6ef2bd935a /xmake/rules/c++/modules/xmake.lua | |
| parent | 553bb39bd9a0394a19e0c23706611533ef2f8fa3 (diff) | |
add stl headers
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index a46947a53..7b6697eeb 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -87,6 +87,7 @@ rule("c++.build.modules.builder") -- patch sourcebatch import("modules_support.common") + import("modules_support.stl_headers") sourcebatch.objectfiles = {} sourcebatch.dependfiles = {} common.patch_sourcebatch(target, sourcebatch, opt) @@ -101,7 +102,7 @@ rule("c++.build.modules.builder") if r.method ~= "by-name" then headerunits = headerunits or {} local unittype = r.method == "include-angle" and ":angle" or ":quote" - table.append(headerunits, {name = name, path = r.path, type = unittype, stl = common.is_stl_header(name)}) + table.append(headerunits, {name = name, path = r.path, type = unittype, stl = stl_headers.is_stl_header(name)}) end end break |
