• Brad King's avatar
    CMakeDetermineCompilerId: Add notion of "simulated" id/version · 51ab85c3
    Brad King authored
    Some compilers try to simulate other compilers as a drop-in replacement
    supporting all the same command-line options and predefined preprocessor
    macros.  In such cases it will be useful to have CMake load the compiler
    information files for the simulated compiler instead of duplicating the
    information.  Teach CMakeDetermineCompilerId to extract the simulated
    compiler id and version when the compiler id detection provides it.