summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-05 14:18:10 +0100
committerArthur LAURENT <[email protected]>2024-02-05 14:18:10 +0100
commit4d3ad3f3176ffefd1253e3e64f8149606ee85c00 (patch)
treecd8613443d9be15f276bf0436bdd3a9bfaf1dbdb /xmake/rules/c++/modules/modules_support
parent538cf30fe70c7e90a82f8a509d9e5875d0a3a665 (diff)
fix format
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc/builder.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc/builder.lua b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
index 702f3f2f2..8c451f699 100644
--- a/xmake/rules/c++/modules/modules_support/msvc/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc/builder.lua
@@ -259,11 +259,11 @@ function make_module_buildjobs(target, batchjobs, job_name, deps, opt)
end
end
- local fileconfig = target:fileconfig(opt.cppfile)
- local public = fileconfig and fileconfig.public
- local external = fileconfig and fileconfig.external
- local build_objectfile = target:kind() == "binary" or (not public and not external)
- local flags = _make_modulebuildflags(target, provide, bmifile, {build_objectfile = build_objectfile})
+ local fileconfig = target:fileconfig(opt.cppfile)
+ local public = fileconfig and fileconfig.public
+ local external = fileconfig and fileconfig.external
+ local build_objectfile = target:kind() == "binary" or (not public and not external)
+ local flags = _make_modulebuildflags(target, provide, bmifile, {build_objectfile = build_objectfile})
_compile(target, flags, opt.cppfile, opt.objectfile)
else