diff options
| author | ruki <[email protected]> | 2023-03-12 00:07:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-12 00:07:44 +0800 |
| commit | f4609ef1afd0f24d6123ecf649b23edc6043a878 (patch) | |
| tree | e8f65354f1552b8ef2f0c0924dca9511c20d45fd /xmake/plugins | |
| parent | 87c613045e24040839a98b556a56d53fc2108d38 (diff) | |
update comments
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/ninja/build_ninja.lua | 1 |
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") |
