1. 09 Aug, 2019 1 commit
    • Brad King's avatar
      Flang: Implement MSVC runtime library abstraction · ea0294c2
      Brad King authored
      In commit fb3370b6 (MSVC: Add abstraction for runtime library
      selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags
      for Flang on Windows.  Add them now and update the MSVCRuntimeLibrary
      Fortran test to work with Flang.  Base the flags on those we already
      use for the GNU-like Clang targeting the MSVC ABI.
      
      Fixes: #19583
      ea0294c2
  2. 26 Jun, 2019 1 commit
    • Brad King's avatar
      CUDA: Implement MSVC runtime library abstraction · 8fbd2577
      Brad King authored
      In commit fb3370b6 (MSVC: Add abstraction for runtime library
      selection, 2019-04-10, v3.15.0-rc1~229^2) we overlooked updating flags
      for CUDA on Windows, where nvcc uses MSVC as the host compiler.  Add
      them now and update the MSVCRuntimeLibrary test to cover CUDA.
      
      Fixes: #19428
      8fbd2577
  3. 22 Apr, 2019 1 commit
  4. 17 Apr, 2019 1 commit
    • Brad King's avatar
      MSVC: Add abstraction for runtime library selection · fb3370b6
      Brad King authored
      Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class
      abstraction to select the runtime library from an enumeration of logical
      names.  We've long hesitated to do this because the idea of "runtime
      library selection" touches on related concepts on several platforms.
      Avoid that scope creep by simply defining an abstraction that applies
      only when targeting the MSVC ABI on Windows.
      
      Removing the old default flags requires a policy because existing
      projects may rely on string processing to edit them and choose a runtime
      library under the old behavior.  Add policy CMP0091 to provide
      compatibility.
      
      Fixes: #19108
      fb3370b6