summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-12 00:07:44 +0800
committerruki <[email protected]>2023-03-12 00:07:44 +0800
commitf4609ef1afd0f24d6123ecf649b23edc6043a878 (patch)
treee8f65354f1552b8ef2f0c0924dca9511c20d45fd /xmake/plugins
parent87c613045e24040839a98b556a56d53fc2108d38 (diff)
update comments
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/ninja/build_ninja.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/project/ninja/build_ninja.lua b/xmake/plugins/project/ninja/build_ninja.lua
index 4d1762d0a..5fce32b9a 100644
--- a/xmake/plugins/project/ninja/build_ninja.lua
+++ b/xmake/plugins/project/ninja/build_ninja.lua
@@ -232,6 +232,7 @@ function _add_rules_for_linker_msvc(ninjafile, linkerkind, program)
elseif linkerkind == "sh" then
program = program .. " -dll"
end
+ -- @note we use rspfile to handle long command limit on windows
ninjafile:print("rule %s", linkerkind)
ninjafile:print(" command = %s @$out.rsp", program)
ninjafile:print(" rspfile = $out.rsp")