summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-04-03 13:24:24 +0200
committerJérôme Leclercq <[email protected]>2021-04-03 13:24:24 +0200
commit6018b25ca4f39ce07e9e30ddf3b144dccd4610c5 (patch)
tree78d8e3bb8c54f78b788ac49e91bf1173ceee9ca7
parent546d68e22bfb77b4e3bb49b45829ec8eee676641 (diff)
Add comment
-rw-r--r--xmake/rules/qt/moc/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/moc/xmake.lua b/xmake/rules/qt/moc/xmake.lua
index 4c4d304bc..439a0b573 100644
--- a/xmake/rules/qt/moc/xmake.lua
+++ b/xmake/rules/qt/moc/xmake.lua
@@ -53,7 +53,7 @@ rule("qt.moc")
local flags = {}
table.join2(flags, compiler.map_flags("cxx", "define", target:get("defines")))
table.join2(flags, compiler.map_flags("cxx", "includedir", target:get("includedirs")))
- table.join2(flags, compiler.map_flags("cxx", "includedir", target:get("sysincludedirs")))
+ table.join2(flags, compiler.map_flags("cxx", "includedir", target:get("sysincludedirs"))) -- for now, moc process doesn't support MSVC external includes flags and will fail
table.join2(flags, compiler.map_flags("cxx", "frameworkdir", target:get("frameworkdirs")))
batchcmds:mkdir(path.directory(sourcefile_moc))
batchcmds:vrunv(moc, table.join(flags, sourcefile, "-o", sourcefile_moc))