Skip to content

Draft: Ninja: Add support for CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES

mtribiere requested to merge mtribiere/cmake:master into master

As stated in the issue (#24681 (closed)), the command set(CMAKE_C_USE_RESPONSE_FILE_FOR_LIBRARIES OFF) doesn't have any effect on the generated Ninja. I.E the rule for RSP content will always contain $LINK_PATH $LINK_LIBRARIES. This PR aims to fix this by drawing inspiration from the Makefile generator cmMakefileTargetGenerator.cxx:2207

Fixes: #24681 (closed)

Edited by Marc Chevrier

Merge request reports