summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/msvc
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-02 22:53:07 +0800
committerruki <[email protected]>2024-02-02 22:53:07 +0800
commit0e13da284bcf633da644d680fbc33f246124eda4 (patch)
treef0f897124b7e3e49b04f3abf4721afef937589a5 /xmake/rules/c++/modules/modules_support/msvc
parenta204e49f7d3d39e27e621b3c5eb241c0021497a5 (diff)
rename apis
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc/builder.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc/builder.lua b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
index 824989777..cca964c58 100644
--- a/xmake/rules/c++/modules/modules_support/msvc/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
@@ -204,7 +204,7 @@ function get_module_required_defines(target, sourcefile)
end
-- build module file for batchjobs
-function make_module_build_job(target, batchjobs, job_name, deps, opt)
+function make_module_buildjobs(target, batchjobs, job_name, deps, opt)
local name, provide, _ = compiler_support.get_provided_module(opt.module)
local bmifile = provide and compiler_support.get_bmi_path(provide.bmi)
@@ -254,7 +254,7 @@ function make_module_build_job(target, batchjobs, job_name, deps, opt)
end
-- build module file for batchcmds
-function make_module_build_cmds(target, batchcmds, opt)
+function make_module_buildcmds(target, batchcmds, opt)
local name, provide, _ = compiler_support.get_provided_module(opt.module)
local bmifile = provide and compiler_support.get_bmi_path(provide.bmi)
@@ -281,7 +281,7 @@ function make_module_build_cmds(target, batchcmds, opt)
end
-- build headerunit file for batchjobs
-function make_headerunit_build_job(target, job_name, batchjobs, headerunit, bmifile, outputdir, opt)
+function make_headerunit_buildjobs(target, job_name, batchjobs, headerunit, bmifile, outputdir, opt)
local already_exists = add_headerunit_to_target_mapper(target, headerunit, bmifile)
if not already_exists then
@@ -316,7 +316,7 @@ function make_headerunit_build_job(target, job_name, batchjobs, headerunit, bmif
end
-- build headerunit file for batchcmds
-function make_headerunit_build_cmds(target, batchcmds, headerunit, bmifile, outputdir, opt)
+function make_headerunit_buildcmds(target, batchcmds, headerunit, bmifile, outputdir, opt)
batchcmds:mkdir(outputdir)