1. 23 Apr, 2019 1 commit
  2. 22 Apr, 2019 10 commits
  3. 21 Apr, 2019 1 commit
  4. 20 Apr, 2019 1 commit
  5. 19 Apr, 2019 6 commits
    • Brad King's avatar
      MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default · 1baf122c
      Brad King authored
      We do not add default warning flags on other compilers, and having
      a warning flag in the default flags makes it hard for projects to
      customize the warning level.  They need to use string processing
      to remove `/W3` from `CMAKE_{C,CXX}_FLAGS`.  Therefore we should
      drop it.
      
      However, projects may be using string processing to replace `/W3`
      with another flag, so we cannot simply drop it.  Add a policy to
      drop it in a compatible way.
      
      Fixes: #18317
      1baf122c
    • Brad King's avatar
      SunPro: Record support for C++14 features by SunPro 5.{14,15} · 66f3f11a
      Brad King authored
      SunPro 5.15 supports `-std=c++14` and several C++14 features.
      
      SunPro 5.14 accepts `-std=c++14` but does not update its definition of
      `__cplusplus` or any other macro to distinguish it from `-std=c++11`,
      so we need to blacklist a couple features that do work but that we
      cannot report for that version.  We can still support `cxx_std_14`.
      
      Co-Author: Robert Maynard <robert.maynard@kitware.com>
      66f3f11a
    • Brad King's avatar
      Merge branch 'vs-default-platform' into release-3.14 · cb733eb4
      Brad King authored
      Merge-request: !3246
      cb733eb4
    • Brad King's avatar
      VS: Provide the default platform name to project code · db02be85
      Brad King authored
      The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio
      generators based on `CMAKE_GENERATOR_PLATFORM` or some default.
      Prior to the VS 2019 generator, the default was always `Win32`.
      However, for the `Visual Studio 16 2019` generator, the default is
      based on the host platform.
      
      Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for
      use by project code.  This is particularly useful in toolchain files
      because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so
      `CMAKE_VS_PLATFORM_NAME` is not yet known.  Of course the toolchain file
      author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not
      then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that
      will be used.
      
      Fixes: #19177
      db02be85
    • Brad King's avatar
      Merge topic 'test-find_package-resolve-symlinks' · 85421526
      Brad King authored
      a9428fc4 Tests: Fix FindPackageTest when path to source has a symlink
      e27437d0 Tests/FindPackageTest: Tell Git to ignore temporary symlink path
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !3244
      85421526
    • Kitware Robot's avatar
      CMake Nightly Date Stamp · bf64e50d
      Kitware Robot authored
      bf64e50d
  6. 18 Apr, 2019 7 commits
  7. 17 Apr, 2019 11 commits
  8. 16 Apr, 2019 3 commits