1. 22 May, 2019 1 commit
  2. 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
  3. 15 Apr, 2019 3 commits
  4. 11 Apr, 2019 1 commit
  5. 10 Apr, 2019 5 commits
  6. 09 Apr, 2019 1 commit
  7. 08 Apr, 2019 5 commits
  8. 04 Apr, 2019 1 commit
  9. 01 Apr, 2019 1 commit
  10. 29 Mar, 2019 1 commit
    • Brad King's avatar
      ParseImplicitIncludeInfo: Canonicalize implicit include dirs · dad86f18
      Brad King authored
      The implicit include directory extraction added by commit 5990ecb7
      (Compute implicit include directories from compiler output, 2018-12-07,
      v3.14.0-rc1~108^2) leaves paths like `/usr/lib/../include` unchanged.
      Fix the logic to canonicalize such paths (e.g. to `/usr/include`)
      as we do for implicit link directories already.  This is important
      to ensure the set of implicit directories is represented in the same
      form as the include directories that will be compared to them.
      
      Issue: #19095
      dad86f18
  11. 25 Mar, 2019 1 commit
    • Brad King's avatar
      Restore support for include_directories() in toolchain files · 588fa1bb
      Brad King authored
      Any `include_directories()` calls in toolchain files are used during our
      ABI detection step even though it does not include any system headers.
      Since commit 5990ecb7 (Compute implicit include directories from
      compiler output, 2018-12-07, v3.14.0-rc1~108^2), that check is also used
      to detect implicit include directories.  Any `include_directories()` in
      a toolchain file are detected as implicit and later excluded from
      explicit specification on compiler command lines, thus breaking the
      purpose of the calls in the first place.
      
      Fix the implicit include directory detection step to avoid using paths
      from `include_directories()` calls in the toolchain file.
      
      Fixes: #19079
      588fa1bb
  12. 22 Mar, 2019 1 commit
  13. 21 Mar, 2019 1 commit
  14. 20 Mar, 2019 3 commits
  15. 18 Mar, 2019 2 commits
  16. 16 Mar, 2019 1 commit
  17. 14 Mar, 2019 1 commit
  18. 13 Mar, 2019 1 commit
  19. 12 Mar, 2019 1 commit
  20. 11 Mar, 2019 1 commit
  21. 07 Mar, 2019 1 commit
    • Brad King's avatar
      install: Do not crash on imported global target · 47389c56
      Brad King authored
      Since commit e89ad0f9 (install: Allow installing targets created in
      another directory, 2018-06-18, v3.13.0-rc1~407^2) the `install(TARGETS)`
      command may find a global-scoped target outside the calling directory.
      Ignore an `IMPORTED GLOBAL` target if it is found in this way.  Imported
      targets cannot be installed, and trying to do so violates internal
      invariants.
      
      Fixes: #19022
      47389c56
  22. 05 Mar, 2019 2 commits
  23. 27 Feb, 2019 1 commit
  24. 26 Feb, 2019 2 commits
  25. 25 Feb, 2019 1 commit