summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-19 22:57:05 +0800
committerruki <[email protected]>2022-12-19 22:57:05 +0800
commita2c7bd21c497f6cd131f7080159c5e464bb60468 (patch)
treed9fba28a5af346e5e28c803611167b177bb7ea2a /xmake/rules/c++/modules/modules_support
parent68ab6b7514f1e68c8127471c627e3091512a4aed (diff)
update comments
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua
index 071641d52..8154742dd 100644
--- a/xmake/rules/c++/modules/modules_support/msvc.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc.lua
@@ -70,6 +70,7 @@ function _compile(target, flags)
end
-- do compile for batchcmds
+-- @note we need use batchcmds:compilev to translate paths in compflags for generator, e.g. -Ixx
function _batchcmds_compile(batchcmds, target, flags)
local compinst = target:compiler("cxx")
local compflags = compinst:compflags({target = target})