[bug]when using ninja rsp file with ARMCC toolchain.the defines variable will be automatically put into rsp file.
I would like to use the force rsp file function on armcc toolchain. after setting CMAKE_NINJA_FORCE_RESPONSE_FILE=1, cmake will set all language compiler to enable rspfile with the response_file_flag defined as "--via=" to shorten command line length but the defines are input to the command line as -Dxxx, not matching the armasm command format, which should be --pd "xxx" I think it's the reason why the compile rule in armcc-asm.cmake for armasm has no variable.
I searched for define prefix setting but found nothing. so is there a suitable way to solve this question? My opinion: #1: offer a variable or function to config define prefix. I think it will also improve compatibility for other toolchain. Or is there already a way to set prefix of define? #2: when using ninja rspfile for toolchain. read the compile or link rule first and judge if defines/include/flags exist, then put them into rsp file.