CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES doesn't work for Ninja
Configuration:
-
Cross-compilation
-
Ninja
-
Gcc-like compiler
-
Windows environment
-
Gcc-like AR Disabling
CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES
won't work with Ninja and therefore link flags will still be outputted to the RSP file. Example:
set(CMAKE_C_USE_RESPONSE_FILE_FOR_LIBRARIES OFF)
Edited by mtribiere