summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/msvc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-27 21:50:24 +0800
committerruki <[email protected]>2022-08-27 21:50:24 +0800
commitc63f962b4369cb1d5c7ca24bfbe3031a831e9e77 (patch)
treee158d79e9af9bb81e659ac4059ec5b2ce6c3dbff /xmake/rules/c++/modules/modules_support/msvc.lua
parent3f5b5e1cd78d0f67acae51340a03ae11192bcef6 (diff)
format code
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua
index e3c0b6fec..4439a578e 100644
--- a/xmake/rules/c++/modules/modules_support/msvc.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc.lua
@@ -154,7 +154,7 @@ end
-- generate header unit module bmi for batchjobs
function generate_headerunit_for_batchjob(target, name, flags, objectfile, index, total)
-- don't generate same header unit bmi at the same time across targets
- if not common.memcache():get2(name, "generating") then
+ if not common.memcache():get2(name, "generating") then
local compinst = target:compiler("cxx")
local toolchain = target:toolchain("msvc")
local vcvars = toolchain:config("vcvars")
@@ -234,7 +234,7 @@ function generate_stl_headerunits_for_batchcmds(target, batchcmds, headerunits,
local bmifile = path.join(stlcachedir, headerunit.name .. get_bmi_extension())
local objectfile = bmifile .. ".obj"
local flags = {
- exportheaderflag,
+ exportheaderflag,
headernameflag .. ":angle",
headerunit.name,
ifcoutputflag,