1. 17 Feb, 2016 1 commit
    • Brad King's avatar
      Fix export of STATIC library PRIVATE non-target dependencies · 87f44b75
      Brad King authored
      In commit v3.5.0-rc1~43^2 (Fix export of STATIC library PRIVATE
      dependencies with CMP0022 NEW, 2016-01-15) we taught
      target_link_libraries to generate `$<LINK_ONLY:$<TARGET_NAME:dep>>` in
      INTERFACE_LINK_LIBRARIES instead of `$<LINK_ONLY:dep>` so that `dep` can
      be recognized as a target name and updated during export.  However, this
      approach does not work when `dep` is just a plain library name and not a
      target because `$<TARGET_NAME:...>` requires the name of a reachable
      Since we do not know during target_link_libraries whether the name will
      correspond to a reachable target or not, we cannot inject the
      `$<TARGET_NAME:...>` expression.  Revert this change and solve the
      original problem instead by teaching the export logic to recognize and
      update target names directly in `$<LINK_ONLY:...>` expressions.
      Reported-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
  2. 01 Feb, 2016 1 commit
    • Brad King's avatar
      cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values (#15944) · 6ffc4323
      Brad King authored
      While evaluating `if(MATCHES)` we get a `const char*` pointer to the
      string to be matched.  On code like
      the string to be matched may be owned by our own result variables.
      We must move the value to our own buffer before clearing them.
      Otherwise we risk reading freed storage.
  3. 28 Jan, 2016 1 commit
  4. 21 Jan, 2016 3 commits
  5. 20 Jan, 2016 2 commits
  6. 19 Jan, 2016 2 commits
  7. 15 Jan, 2016 3 commits
  8. 13 Jan, 2016 1 commit
  9. 12 Jan, 2016 1 commit
    • Michael Scott's avatar
      Add -Werror and -Wno-error command-line options · 28f2d750
      Michael Scott authored
      Expand the -W set of cmake options to include support for the -Werror
      and -Wno-error format, which is used to control upgrading and
      downgrading warning and error messages. Implement support for these new
      formats for the dev and deprecated message types.
      Add tests and updated documentation for new options.
  10. 07 Jan, 2016 1 commit
    • Gregor Jasny's avatar
      Xcode: Escape all backslashes in strings (#15328) · ba39d7e9
      Gregor Jasny authored
      Before this change backslashes in strings were escaped during compile
      flags adds via AppendFlag(). But global flags like OTHER_CPLUSPLUSFLAGS
      are not added as flags but as plain strings so they were not escaped
      Now the escaping is performed within cmXCodeObject::PrintString() which
      ensures that strings are always encoded.
  11. 03 Jan, 2016 1 commit
  12. 31 Dec, 2015 1 commit
  13. 21 Dec, 2015 1 commit
  14. 17 Dec, 2015 3 commits
  15. 10 Dec, 2015 4 commits
  16. 07 Dec, 2015 3 commits
  17. 04 Dec, 2015 2 commits
  18. 03 Dec, 2015 4 commits
  19. 02 Dec, 2015 1 commit
  20. 01 Dec, 2015 4 commits
    • Michael Scott's avatar
      Explicitly enable deprecated warnings by default. · aac633d5
      Michael Scott authored
      Explicitly enable deprecated warnings by default, via the
      cmake::GetSuppressDeprecatedWarnings method, which signals
      suppression is turned off unless the CMake variables are set
      as required.
      Add tests and update the documentation for the new
    • Michael Scott's avatar
      Modify dev warning options to affect deprecated warnings. · e8974b62
      Michael Scott authored
      Change the '-Wdev' and '-Wno-dev' options to also enable and
      suppress the deprecated warnings output, via the
      'CMAKE_WARN_DEPRECATED' CMake variable, by default. This
      action does not happen if the user specifies a deprecated
      warning message option.
      Add tests and update the documentation for the new
    • Michael Scott's avatar
      Add -W options to control deprecated warning messages. · da688bcb
      Michael Scott authored
      Add 'deprecated' warning options type, to allow setting
      CMAKE_WARN_DEPRECATED via the -W '-Wdeprecated' and
      '-Wno-deprecated' options.
      Add tests for new options and updated documentation.
    • Michael Scott's avatar
      Refactor the -W options parser to be generic. · 07388f83
      Michael Scott authored
      Refactor the -Wdev and -Wno-dev options parser to use a generic -W
      parser that follows the GCC pattern, excluding support for
      -Werror=TYPE and -Wno-error=TYPE formats for now.