diff options
| author | ruki <[email protected]> | 2022-08-06 00:36:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-06 00:36:52 +0800 |
| commit | 442ed69e3344e762a61698105154b9134d1d4496 (patch) | |
| tree | 0e04898b55c09708bfbdf246b365f2e90e45040d /xmake/rules/c++/modules/modules_support/common.lua | |
| parent | 765b7041868da4a3aa08b97b8a1d73c48dbd9dbd (diff) | |
support for compile_commands
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/common.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/common.lua b/xmake/rules/c++/modules/modules_support/common.lua index 9c15cffbe..8805d51de 100644 --- a/xmake/rules/c++/modules/modules_support/common.lua +++ b/xmake/rules/c++/modules/modules_support/common.lua @@ -62,7 +62,6 @@ function get_headerunits(target, sourcebatch) for name, r in pairs(m.requires) do if r.method ~= "by-name" then local unittype = r.method == "include-angle" and ":angle" or ":quote" - if stl_headers.is_stl_header(name) then stl_headerunits = stl_headerunits or {} if not table.find_if(stl_headerunits, function(i, v) return v.name == name end) then @@ -405,3 +404,4 @@ function fallback_generate_dependencies(target, jsonfile, sourcefile) local jsondata = json.encode(output) io.writefile(jsonfile, jsondata) end + |
