diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-05 14:18:10 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-05 14:18:10 +0100 |
| commit | 4d3ad3f3176ffefd1253e3e64f8149606ee85c00 (patch) | |
| tree | cd8613443d9be15f276bf0436bdd3a9bfaf1dbdb /xmake/rules/c++/modules/modules_support | |
| parent | 538cf30fe70c7e90a82f8a509d9e5875d0a3a665 (diff) | |
fix format
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc/builder.lua | 10 |
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 |
