Merged in triton/premake-cs-fixes/gcc-rc (pull request #68)
Added support for resource compiler tool under the GCC toolset.
This commit is contained in:
commit
d2295fc5d5
@ -304,6 +304,10 @@
|
||||
--
|
||||
|
||||
function gcc.gettoolname(cfg, tool)
|
||||
if tool == "rc" then
|
||||
return "windres"
|
||||
end
|
||||
|
||||
local sysflags = gcc.sysflags[cfg.architecture] or gcc.sysflags[cfg.system] or {}
|
||||
return sysflags[tool]
|
||||
end
|
||||
|
@ -36,6 +36,7 @@
|
||||
test.isnil(gcc.gettoolname(cfg, "cc"))
|
||||
test.isnil(gcc.gettoolname(cfg, "cxx"))
|
||||
test.isnil(gcc.gettoolname(cfg, "ar"))
|
||||
test.isequal("windres", gcc.gettoolname(cfg, "rc"))
|
||||
end
|
||||
|
||||
function suite.tools_onPS3()
|
||||
|
Loading…
Reference in New Issue
Block a user