Skip to content
  • Brad King's avatar
    Reduce duplication in Platform/<os>.cmake files · 4d72006b
    Brad King authored
    Several platform-wide linker flag variables are defined in
    Modules/Platform/<os>.cmake files for C and then copied by the
    Modules/CMake<lang>Information.cmake file for each language.
    We now use this approach for the variables
    
      CMAKE_EXE_EXPORTS_${lang}_FLAG
      CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG
      CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS
    
    to avoid duplication for multiple languages in each platform file.
    4d72006b