summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/gcc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index 841313a5b..08afba431 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -151,8 +151,8 @@ function generate_dependencies(target, sourcebatch, opt)
end
end
--- generate target stl header units
-function generate_stl_headerunits(target, batchcmds, headerunits, opt)
+-- generate target stl header units for batchcmds
+function generate_stl_headerunits_for_batchcmds(target, batchcmds, headerunits, opt)
local compinst = target:compiler("cxx")
local mapper_file = _get_module_mapper()
@@ -175,8 +175,8 @@ function generate_stl_headerunits(target, batchcmds, headerunits, opt)
batchcmds:set_depmtime(depmtime)
end
--- generate target user header units
-function generate_user_headerunits(target, batchcmds, headerunits, opt)
+-- generate target user header units for batchcmds
+function generate_user_headerunits_for_batchcmds(target, batchcmds, headerunits, opt)
local compinst = target:compiler("cxx")
local mapper_file = _get_module_mapper()
@@ -223,8 +223,8 @@ function generate_user_headerunits(target, batchcmds, headerunits, opt)
batchcmds:set_depmtime(depmtime)
end
--- build module files
-function build_modules(target, batchcmds, objectfiles, modules, opt)
+-- build module files for batchcmds
+function build_modules_for_batchcmds(target, batchcmds, objectfiles, modules, opt)
local compinst = target:compiler("cxx")
local mapper_file = _get_module_mapper()
local common_args = {"-x", "c++"}