diff options
| author | ruki <[email protected]> | 2022-08-04 22:37:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-08-04 22:37:59 +0800 |
| commit | 0e52b4967cd20677c1dcc7656e2016c076ed2647 (patch) | |
| tree | 67d13c3ee93e036a3429c269b9578a3ddaab625b /xmake/rules/c++/modules/modules_support/gcc.lua | |
| parent | cc8ee163098a464937769641377fd98c33bdfca2 (diff) | |
improve load modules
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/gcc.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua index 9812115b8..fc346d753 100644 --- a/xmake/rules/c++/modules/modules_support/gcc.lua +++ b/xmake/rules/c++/modules/modules_support/gcc.lua @@ -52,12 +52,8 @@ function add_module_to_mapper(file, module, bmi) return true end --- load parent target with modules files -function load_parent(target, opt) -end - --- check C++20 module support -function check_module_support(target) +-- load module support for the current target +function load(target) local compinst = compiler.load("cxx", {target = target}) local modulesflag = get_modulesflag(target) |
