1. 09 Sep, 2016 1 commit
  2. 07 Sep, 2016 3 commits
    • Brad King's avatar
      VS15: Add Visual Studio 15 generator · bdc679a8
      Brad King authored
      Call the generator "Visual Studio 15" without any year because the
      preview version of VS 15 does not provide a year in the product name.
      Copy cmGlobalVisualStudio14Generator to cmGlobalVisualStudio15Generator
      and update version numbers accordingly.  Add the VS15 enumeration value.
      Note that we do not need to add a MSVC15 variable or v150 toolset
      because Visual Studio 15 comes with an updated version of the v140
      toolset and remains ABI-compatible.
      Teach tests VSExternalInclude, RunCMake.GeneratorPlatform, and
      RunCMake.GeneratorToolset to treat VS 15 as they do VS 10-14.
      Closes: #16143
    • Roger Leigh's avatar
      GNUInstallDirs: Add macro to expose internal logic publicly · 17a24dc3
      Roger Leigh authored and Brad King's avatar Brad King committed
    • Domen Vrankar's avatar
      CPack/DEB: Make package description variable precedence match RPM · 332b089a
      Domen Vrankar authored and Brad King's avatar Brad King committed
      Make `CPACK_DEBIAN_PACKAGE_DESCRIPTION` fallback variable precedence
      match CPackRPM behavior as much as possible.  This is technically a
      breaking change, but the new behavior is more consistent with
      expectation anyway.
      Closes: #16272
  3. 06 Sep, 2016 1 commit
  4. 05 Sep, 2016 1 commit
  5. 31 Aug, 2016 1 commit
  6. 30 Aug, 2016 2 commits
    • Brad King's avatar
      Utilities/Release: Drop Linux 32-bit binary · b82d027b
      Brad King authored
      The Linux distro we've been using for this is so old that it limits our
      ability to import newer third-party software.  Until a new machine can
      be configured to provide this binary we can simply drop it.  Users will
      still be able to build from source or use a distro-provided version.
    • Christoph Kulla's avatar
      add_custom_command: Add DEPFILE option for Ninja · 048d1adb
      Christoph Kulla authored and Brad King's avatar Brad King committed
      Provide a way for custom commands to inform the ninja build tool about
      their implicit dependencies.  For now simply make use of the option an
      error on other generators.
      Closes: #15479
  7. 26 Aug, 2016 1 commit
  8. 24 Aug, 2016 1 commit
  9. 23 Aug, 2016 4 commits
  10. 17 Aug, 2016 1 commit
  11. 16 Aug, 2016 1 commit
  12. 15 Aug, 2016 1 commit
  13. 09 Aug, 2016 2 commits
    • Brad King's avatar
      Ninja: Add `$subdir/{test,install,package}` targets · 02789894
      Brad King authored
      With the Makefile generator one can use `cd $subdir; make install` to build and
      install targets associated with a given subdirectory.  This is not possible to
      do with the Ninja generator since there is only one `build.ninja` file at the
      top of the build tree.  However, we can approximate it by allowing one to run
      `ninja $subdir/install` at the top of the tree to build the targets in the
      corresponding subdirectory and install them.
      This also makes sense for `test`, `package`, and other GLOBAL_TARGET targets.
      It was already done for `all` by commit v3.6.0-rc1~240^2~2 (Ninja: Add
      `$subdir/all` targets, 2016-03-11).
    • Chuck Atkins's avatar
      Add additional <= and >= comparison operators · 02d177c9
      Chuck Atkins authored and Brad King's avatar Brad King committed
      This adds the LESS_EQUAL, GREATER_EQUAL, and associated STR and VERSION
      equivalents to use the combined <= and >= functionality.
  14. 08 Aug, 2016 1 commit
  15. 02 Aug, 2016 2 commits
  16. 01 Aug, 2016 1 commit
  17. 22 Jul, 2016 2 commits
  18. 21 Jul, 2016 1 commit
    • Justin Clift's avatar
      NSIS: Quote uninstaller path when executing it in a shell · 11768733
      Justin Clift authored and Brad King's avatar Brad King committed
      Protect our `$0` reference in the shell as `"$0"`.  Otherwise it works
      with a space in the path only due to an insecure Windows feature.
      Prior to this fix, any installer using the option added by commit
      2011-06-11) exposes a local privilege escalation vulnerability.
      Reported-by: default avatarAmir Szekely <kichik@gmail.com>
      Reported-by: Ug_0 Security
  19. 18 Jul, 2016 1 commit
  20. 15 Jul, 2016 1 commit
  21. 14 Jul, 2016 1 commit
  22. 13 Jul, 2016 3 commits
  23. 11 Jul, 2016 1 commit
  24. 10 Jul, 2016 1 commit
  25. 06 Jul, 2016 1 commit
    • Brad King's avatar
      Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files · a66004be
      Brad King authored
      Document these variables.
      Change our convention for setting these variables from:
          set(CMAKE_C_FLAGS_INIT "...")
          string(APPEND CMAKE_C_FLAGS_INIT " ...")
      so that any value previously set by a toolchain file will be used.
      Automate the conversion with:
          sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \
            Modules/Compiler/*.cmake Modules/Platform/*.cmake
      and follow up with some manual fixes (e.g. to cases that already
      meant to append).  Also revert the automated changes to contexts
      that are not protected from running multiple times.
  26. 05 Jul, 2016 2 commits
  27. 30 Jun, 2016 1 commit
  28. 29 Jun, 2016 1 commit
    • Brad King's avatar
      Avoid using KWSys auto_ptr by adopting it ourselves · b5ec5b09
      Brad King authored
      Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to
      our own implementation adopted from the KWSys auto_ptr implementation.
      Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers
      that do not warn about it.
      Automate the client site conversions:
          git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \