• Alexander Neundorf's avatar
    Detect a COMPILER_ID also for ASM. · b333779e
    Alexander Neundorf authored
    For assembler, the "compiler ID" cannot be detected by "compiling" a
    source file, since there is not source file all assemblers understand.
    Instead the function CMAKE_DETERMINE_COMPILER_ID_VENDOR() is used to
    run the assembler and check its output.
    For this the CMAKE_DETERMINE_COMPILER_ID_VENDOR() function had to be
    extended so that it creates the run directory if it doesn't exist yet.
    In CMakeASMInformation.cmake now also CMAKE_ASM_COMPILER_ID is used
    (but there are no such files yet, will come with the support for the
    IAR toolchain).