The source project of this merge request has been removed.
IAR: Add response flag for files
This Merge Request changes the following for the IAR Toolchains
-
Added
CMAKE_${lang}_RESPONSE_FILE_FLAG. -
CMAKE_${lang}_RESPONSE_FILE_FLAGandCMAKE_${lang}_RESPONSE_FILE_LINK_FLAGnow applies toC,CXXandASM. Response files can now be used for building targets purely made of Assembly. -
Code de-duplication by using the
__compiler_iar_common()macro:- The following variables serves for both
xlinkandilink(CandCXX):-
CMAKE_${lang}_COMPILE_OBJECT, -
CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE, -
CMAKE_${lang}_CREATE_ASSEMBLY_SOURCEand CMAKE_${lang}_FLAGS_*_INIT
-
- Response file flags (
C,CXXandASM):CMAKE_${lang}_RESPONSE_FILE_FLAGCMAKE_${lang}_RESPONSE_FILE_LINK_FLAG
- Archive Finish
-
CMAKE_${lang}_ARCHIVE_FINISH- it is the same for both linker technologies
-
- The following variables serves for both
-
Testbenches:
-
Observation related to #19213 (closed):
- Once
CMAKE_NINJA_FORCE_RESPONSE_FILEis set,CMAKE_${lang}_USE_RESPONSE_FILES_FOR_OBJECTSis automatically set.
- Once
Fixes #19213 (closed).
Edited by Felipe Torrezan