Skip to content
  • Marc Chevrier's avatar
    Link Step: compute effective linker used by the compiler · c26c6ac4
    Marc Chevrier authored and Brad King's avatar Brad King committed
    Extract the effective linker during the computation of implicit artifacts
    delivered by the compiler to the linker.
    Define various variables describing the linker:
    * CMAKE_<LANG>_COMPILER_LINKER
    * CMAKE_<LANG>_COMPILER_LINKER_VERSION
    * CMAKE_<LANG>_COMPILER_LINKER_ID
    * CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT
    
    This is complementary to feature introduced by commit 96a953b1
    (Add options to specify linker tool, 2023-09-27).
    
    Fixes: #17596, #18209, #25344
    c26c6ac4