1. 09 Sep, 2016 1 commit
  2. 08 Sep, 2016 2 commits
  3. 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
    • Brad King's avatar
      ExternalData: Tolerate files duplicated across multiple targets · f9973166
      Brad King authored
      If multiple ExternalData_Target_Add calls generate the same output file
      then we need to avoid calling add_custom_command multiple times with
      that output.  This was already done within a single target by setting a
      variable in the local function scope.  This will not be visible in other
      calls though so we need to use a directory property instead to prevent
      adding a custom command multiple times for one output in a directory.
      Normally it is not safe to have multiple custom commands that produce
      the same output file across multiple independent targets, but since we
      use atomic replacement of outputs the resulting races should not be a
      problem.  For the convenience of projects, tolerate this instead of
      diagnosing it.  In particular, we previously allowed up to two copies
      of the custom command in one directory because CMake has a fallback
      from MAIN_DEPENDENCY to an `<output>.rule` file.
      While at it, add a note to the documentation that typically only one
      external data target should be needed for a project.
      Reported-by: David Manthey's avatarDavid Manthey <david.manthey@kitware.com>
    • 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
  4. 06 Sep, 2016 1 commit
    • Brad King's avatar
      cmMakefile: Restore nested error logic use of cmExecutionStatus · f1ad71d7
      Brad King authored
      Since commit 14a8d61f (cmMakefile: Port nested error logic away from
      cmExecutionStatus) we fail to continue processing function and macro
      bodies after non-fatal errors.  A non-fatal error should not stop
      foreach loops, macro bodies, nested bodies, or the outer script.
      Add a test covering these cases, and revert the change to fix them.
      Also revert commit 2af853de (cmMakefile: Simplify IssueMessage
      implementation) because the assertion it added (which was removed by the
      above commit and is restored by reverting it) is incorrect.  We do have
      code paths that call cmMakefile::IssueMessage with an empty execution
      stack, such as in CheckForUnusedVariables's LogUnused call.
  5. 05 Sep, 2016 6 commits
  6. 03 Sep, 2016 2 commits
  7. 31 Aug, 2016 2 commits
  8. 30 Aug, 2016 4 commits
  9. 26 Aug, 2016 1 commit
  10. 25 Aug, 2016 1 commit
  11. 24 Aug, 2016 2 commits
  12. 23 Aug, 2016 3 commits
  13. 16 Aug, 2016 4 commits
  14. 15 Aug, 2016 1 commit
  15. 10 Aug, 2016 1 commit
  16. 09 Aug, 2016 4 commits
    • Chaoren Lin's avatar
      Tests: Fix RunCMake.Framework on case sensitive file systems. · 677e73cb
      Chaoren Lin authored and Brad King's avatar Brad King committed
      The file is lowercase: Tests/RunCMake/Framework/osx.cmake
    • 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).
    • Gregor Jasny's avatar
      Xcode: Obey SYSTEM keyword for includes (#15687) · 93ac2a78
      Gregor Jasny authored
      CMake used to put all header search paths into HEADER_SEARCH_PATHS
      attribute. Unfortunately this attribute does not support to declare
      a search path as a system include.
      As a hack one could add a -isystem /path to the cflags but then include
      ordering is not deterministic. A better approach was chosen with this
      patch by not filling HEADER_SEARCH_PATHS at all and to populate
      the C, C++, and Fortran flags directly. The include paths used by
      Xcode should be now identical to the ones used by Unix Makefiles and
      Ninja generator.
    • 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.
  17. 08 Aug, 2016 1 commit
  18. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'