Replies: 1 comment 1 reply
-
on_load(function (target)
local _, toolname = target:tool("cxx")
if toolname:find("clang", 1, true) then
target:add("cxflags", "-xx")
elseif toolname == "cl" then
elseif toolname == "icc" then
end
end) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
想要在linux下对clang、gcc、icc加不同的flag,如何实现
Beta Was this translation helpful? Give feedback.
All reactions