With CMAKE_VERBOSE_MAKEFILE turned off, MSVC tools (cl, link, …) are passed the “-nologo” flag but RC isn’t.
Hacking nologo into CMAKE_RC_FLAGS solves the issue but is admittedly sub-optimal.
set(CMAKE_RC_FLAGS "-nologo ${CMAKE_RC_FLAGS}")
With CMAKE_VERBOSE_MAKEFILE turned off, MSVC tools (cl, link, …) are passed the “-nologo” flag but RC isn’t.
Hacking nologo into CMAKE_RC_FLAGS solves the issue but is admittedly sub-optimal.
set(CMAKE_RC_FLAGS "-nologo ${CMAKE_RC_FLAGS}")
At one time rc
did not support the -nologo
flag. I think it may be supported by toolsets coming with VS 2010+ but not VS 2008 or older. I’d welcome a change adding the flag, but it would have to be conditional.