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
      Fixes: #19108
  3. 16 Apr, 2019 1 commit
  4. 15 Apr, 2019 4 commits
  5. 11 Apr, 2019 5 commits
  6. 10 Apr, 2019 6 commits
  7. 09 Apr, 2019 3 commits
  8. 08 Apr, 2019 5 commits
  9. 05 Apr, 2019 1 commit
  10. 04 Apr, 2019 2 commits
  11. 03 Apr, 2019 1 commit
  12. 01 Apr, 2019 2 commits
  13. 29 Mar, 2019 3 commits
    • Damien's avatar
      find_dependency: Always search dependencies · 37da6af1
      Damien authored
      When a dependency was already found, find_dependency did not search it
      again. While this works in basic case, it does not when there are
      components as the check does not take components into account.
      Given the fact that there is no documentation about this optimization and
      that the correct implementation is not trivial as it would require
      changes in find_package to have the list of components already found we
      always search dependencies.
      Fix #17583.
    • 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
    • Brad King's avatar
      Tests: Fix Plugin test for international characters on Windows · 15be06a5
      Brad King authored
      Build KWSys with `CP_UTF8` internal encoding so that we can dynamically
      load modules by absolute paths that contain international characters.
      This is needed now that KWSys DynamicLoader uses KWSys Encoding instead
      of hard-coding `CP_UTF8` itself.
  14. 27 Mar, 2019 2 commits
  15. 26 Mar, 2019 2 commits
  16. 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