Skip to content
Snippets Groups Projects
  1. Mar 21, 2017
  2. Mar 03, 2017
  3. Mar 02, 2017
    • Brad King's avatar
      cmOrderDirectories: Consider symlinks when checking implicit directories · c3fb650c
      Brad King authored
      When checking whether a directory is "implicit" (e.g. implicit link
      directory or implicit rpath directory), resolve the real path of both
      sides of the comparison.  Otherwise we will not recognize paths like
      `/usr/lib32` as implicit when `/usr/lib` is implicit and `lib32` is
      actually a symlink to `lib`.  This can lead to addition of unnecessary
      entries to the RPATH of a binary, for example.
      
      Fixes: #16682
      c3fb650c
  4. Mar 01, 2017
  5. Feb 28, 2017
  6. Feb 24, 2017
    • Brad King's avatar
      Fix COMPILE_PDB_NAME when used on an OBJECT library · feff52d4
      Brad King authored
      When `COMPILE_PDB_NAME` is used without `COMPILE_PDB_OUTPUT_DIRECTORY`
      we cannot fall back on the link `PDB_OUTPUT_DIRECTORY` for an object
      library because it has no link step.
      
      Fixes: #16674
      feff52d4
    • Brad King's avatar
      Revert "Ninja: Use full path for all source files" · 666ad1df
      Brad King authored
      This reverts commit v3.7.0-rc1~275^2 (Ninja: Use full path for all
      source files, 2016-08-05).  Unfortunately using absolute paths can
      cause incorrect rebuilds due to ninja limitations.  The ninja
      manual [1] explains:
      
      > ... using absolute paths, your depfile may result in a mixture of
      > relative and absolute paths. Paths used by other build rules need
      > to match exactly.
      
      Passing an absolute path to a source file to the compiler while using a
      relative path in the ninja build manifest can cause such mixture and
      lead to incorrect rebuilds.  Simply revert the change for now.
      
      Note that there was a follow-up to the original change in commit
      v3.7.0-rc2~10^2 (Ninja: Fix RC language depfile generation with
      cmcldeps, 2016-10-13).  We don't need to revert that because that
      change made the relevant code cleverly adapt to whatever variable
      we use to reference the source file.
      
      [1] https://ninja-build.org/manual.html#_deps
      
      Fixes: #16675
      Issue: #13894
      666ad1df
  7. Feb 23, 2017
    • Brad King's avatar
      VS: Fix .vcxproj indentation · 2cb165e8
      Brad King authored
      In commit v3.8.0-rc1~87^2~1 (VS: added support for C#, 2017-01-09) we
      removed what looked like a no-op streaming operation but in fact it
      is responsible for applying indentation.  Restore the line.
      2cb165e8
  8. Feb 22, 2017
  9. Feb 21, 2017
  10. Feb 20, 2017
  11. Feb 17, 2017
    • Brad King's avatar
      Windows: Fix inconsistent behavior on changes to case of path to cmake · e2d78f75
      Brad King authored
      In commit v3.4.0-rc1~333^2 (Merge branch 'upstream-kwsys' into
      update-kwsys, 2015-07-15) we brought in upstream KWSys commit 86a24794
      (SystemTools: Fix GetActualCaseForPath drive letter case handling,
      2015-07-09).  This caused our path processing to convert drive letters
      to upper-case and exposed an existing bug in our implementation of
      CMP0017.
      
      Policy CMP0017 is responsible for ensuring that modules included from a
      builtin module only load other builtin modules and cannot be overridden
      by a file in `CMAKE_MODULE_PATH`.  If there is a case difference in the
      drive letter (or other path components) then the path to the including
      module may not match our builtin module directory in a simple string
      comparison.  This means builtin modules may not be recognized as such,
      and they may not reliably include their builtin dependencies.  For
      example, if a project provides a `Platform/Windows` module in
      `CMAKE_MODULE_PATH` it can break inclusion of our builtin
      `Platform/Windows` module, leading to strange behavior.
      
      Fix this by comparing the path to the including module to our builtin
      module directory using a function that is aware of case-insensitivity of
      paths on Windows.
      
      Fixes: #16648, #16622
      e2d78f75
  12. Feb 15, 2017
    • Sebastian Holtermann's avatar
      Autogen: Fix headers not skipped · 28ee3784
      Sebastian Holtermann authored
      28ee3784
    • Brad King's avatar
      ctest_update: Fix svn log and external loading · 51849bba
      Brad King authored
      Since commit v3.7.0-rc1~132^2 (CTestSVN: Fix segfault when
      CTEST_UPDATE_VERSION_ONLY is enabled, 2016-09-12) we do not properly
      extract svn log or externals.  After updating we erase the information
      that was loaded before updating and can no longer log the changes
      between revisions to extract authors.
      
      Fix this by only loading the repository information once, whether needed
      by `NoteOldRevision`, `NoteNewRevision`, or both.
      
      Fixes: #12630, #16646
      51849bba
  13. Feb 13, 2017
    • Brad King's avatar
      execute_process: Restore no-decoding default behavior · 07c3380a
      Brad King authored
      
      Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for
      Windows child process output, 2016-11-23) we decode child process output
      using the console's active codepage by default.  This differs from
      previous versions of CMake and is therefore incompatible.  Changing this
      default will require a policy, so for now revert the default behavior
      back to performing no decoding.
      
      Reported-by: default avatarNils Gladitz <nilsgladitz@gmail.com>
      07c3380a
  14. Feb 06, 2017
  15. Feb 05, 2017
  16. Feb 04, 2017
  17. Feb 03, 2017
  18. Feb 02, 2017
  19. Feb 01, 2017
  20. Jan 31, 2017
  21. Jan 30, 2017
  22. Jan 29, 2017
  23. Jan 28, 2017
  24. Jan 27, 2017
  25. Jan 26, 2017
Loading