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
      bdc679a8
    • Roger Leigh's avatar
      GNUInstallDirs: Add macro to expose internal logic publicly · 17a24dc3
      Roger Leigh authored and Brad King's avatar Brad King committed
      17a24dc3
    • 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
      332b089a
  3. 05 Sep, 2016 1 commit
  4. 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.
      b82d027b
    • 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
      048d1adb
  5. 26 Aug, 2016 1 commit
  6. 23 Aug, 2016 1 commit
    • Brad King's avatar
      Help: Document cross compiling for Android · 6b84df8d
      Brad King authored
      CMake now supports cross compiling for Android using the NDK or a
      standalone toolchain.  Document the associated variables and how how to
      write toolchain files for Android.
      6b84df8d
  7. 17 Aug, 2016 1 commit
  8. 16 Aug, 2016 1 commit
  9. 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).
      02789894
    • 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.
      02d177c9
  10. 08 Aug, 2016 1 commit
  11. 02 Aug, 2016 2 commits
  12. 22 Jul, 2016 2 commits
  13. 18 Jul, 2016 1 commit
  14. 15 Jul, 2016 1 commit
  15. 14 Jul, 2016 1 commit
  16. 13 Jul, 2016 2 commits
  17. 11 Jul, 2016 1 commit
  18. 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 "...")
      
      to
      
          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.
      a66004be
  19. 29 Jun, 2016 1 commit
    • Brad King's avatar
      try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG> · d582c23a
      Brad King authored
      In the `try_compile` source file signature we propagate the caller's
      value of `CMAKE_<LANG>_FLAGS` into the test project.  Extend this to
      propagate `CMAKE_<LANG>_FLAGS_<CONFIG>` too instead of always using the
      default value in the test project.  This will be useful, for example, to
      allow the MSVC runtime library to be changed (e.g. `-MDd` => `-MTd`).
      However, some projects may currently depend on this not being done,
      so we need to activate the behavior using a policy.
      
      This change was originally made by commit v3.6.0-rc1~160^2 (try_compile:
      Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11) but without the
      policy and so had to be reverted during the 3.6 release candidate cycle.
      
      Fixes #16174.
      d582c23a
  20. 28 Jun, 2016 1 commit
  21. 22 Jun, 2016 1 commit
  22. 20 Jun, 2016 2 commits
    • Gilles Khouzam's avatar
      VS: Add a VS_TOOL_OVERRIDE source file property · ed05f11d
      Gilles Khouzam authored and Brad King's avatar Brad King committed
      This property allow to specify a specific Visual Studio tool for a
      source file overriding the default tool behavior.  For example, a
      `.resw` file being processed as a `PriResource` file.  This has the
      advantage of being able to teach CMake to process new file types without
      code modifications.
      ed05f11d
    • Wu Zhao's avatar
      AIX: Add support for Clang compiler · 5cc34162
      Wu Zhao authored and Brad King's avatar Brad King committed
      The platform information module for GNU on AIX can be reused for Clang
      on AIX because clang accepts almost all of the same options.
      5cc34162
  23. 17 Jun, 2016 3 commits
  24. 10 Jun, 2016 1 commit
  25. 08 Jun, 2016 1 commit
  26. 07 Jun, 2016 1 commit
  27. 06 Jun, 2016 1 commit
  28. 02 Jun, 2016 1 commit
  29. 01 Jun, 2016 2 commits