An update will be applied today, Nov30th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

  1. 28 Sep, 2016 2 commits
    • Brad King's avatar
      project: Fix support for explicit RC language · 9c5238df
      Brad King authored
      The check added in commit v3.6.0-rc1~293^2 (Diagnose recursive
      project/enable_language without crashing, 2016-03-07) broke support for
      enabling `RC` explicitly along with other languages like `C`.  The
      reason is that we enable all listed languages at once so the internal
      `enable_language(RC)` that we do while enabling `C` or `CXX` on some
      platforms triggers the recursion check if `RC` is explicitly listed.
      Ideally we should refactor things to only enable one language at a time,
      but for now it is simplest to just exclude `RC` from the explicit list
      until other languages are enabled, and then enable it.
      Closes: #16330
    • Brad King's avatar
      Tests: Decide earlier whether to test resources · 40c04821
      Brad King authored
      Provide a CMake_TEST_RESOURCES variable storing the decision.
  2. 27 Sep, 2016 6 commits
    • Brad King's avatar
    • Brad King's avatar
      Simplify CMake per-source license notices · 86578ecc
      Brad King authored
      Per-source copyright/license notice headers that spell out copyright holder
      names and years are hard to maintain and often out-of-date or plain wrong.
      Precise contributor information is already maintained automatically by the
      version control tool.  Ultimately it is the receiver of a file who is
      responsible for determining its licensing status, and per-source notices are
      merely a convenience.  Therefore it is simpler and more accurate for
      each source to have a generic notice of the license name and references to
      more detailed information on copyright holders and full license terms.
      Our `Copyright.txt` file now contains a list of Contributors whose names
      appeared source-level copyright notices.  It also references version control
      history for more precise information.  Therefore we no longer need to spell
      out the list of Contributors in each source file notice.
      Replace CMake per-source copyright/license notice headers with a short
      description of the license and links to `Copyright.txt` and online information
      available from "".  The online URL also handles
      cases of modules being copied out of our source into other projects, so we
      can drop our notices about replacing links with full license text.
      Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
      of the replacements mechanically.  Manually fix up shebang lines and trailing
      newlines in a few files.  Manually update the notices in a few files that the
      script does not handle.
    • Brad King's avatar
    • Domen Vrankar's avatar
      CPack/RPM debuginfo directories to sources · dd3c938a
      Domen Vrankar authored and Brad King's avatar Brad King committed
      List of sources must be split into paths parts
      so that debuginfo package cleans up after
    • Domen Vrankar's avatar
      CPack/RPM debuginfo packages must contain sources · b78fcf0d
      Domen Vrankar authored and Brad King's avatar Brad King committed
      Issue #15668 fix was missing relevant source
      files in debuginfo package.
    • Nils Gladitz's avatar
      Ninja: Add source location as include directory for preprocessed files · 144cc6f1
      Nils Gladitz authored and Brad King's avatar Brad King committed
      Fortran INCLUDE statements are not handled by the preprocessor.
      Since the location of the preprocessed file is distinct from the
      original source file explicitly add the source file's directory
      as an include path in the actual compile step (not the preprocessing step)
      so INCLUDE can find it.
      Closes: #16332
  3. 26 Sep, 2016 3 commits
  4. 24 Sep, 2016 1 commit
  5. 23 Sep, 2016 1 commit
  6. 22 Sep, 2016 6 commits
  7. 20 Sep, 2016 5 commits
  8. 19 Sep, 2016 8 commits
    • Brad King's avatar
      Add directory properties to get source and binary directories · d0be1e15
      Brad King authored
      Add SOURCE_DIR and BINARY_DIR directory properties that return the
      absolute paths to the corresponding directories.  These correspond
      to the target properties of the same names that we already have.
    • Brad King's avatar
      Add directory property to list buildsystem targets · cbca6582
      Brad King authored
      Add a BUILDSYSTEM_TARGETS property to allow project code to traverse
      the list of its own targets in a given directory.
    • Brad King's avatar
      Add a directory property to list subdirectories · 7a4b8d0d
      Brad King authored
      Add a SUBDIRECTORIES directory property to allow project code to
      traverse the directory structure of itself as CMake sees it.
    • Petr Orlov's avatar
      CPack: Add option to generate a checksum file next to each package file · 1c63aa4d
      Petr Orlov authored and Brad King's avatar Brad King committed
      Add variable CPACK_PACKAGE_CHECKSUM to activate it.
    • Domen Vrankar's avatar
      Tests: Add subtest support to RunCMake/CPack infrastructure · 4682b42b
      Domen Vrankar authored and Brad King's avatar Brad King committed
    • Tobias Hunger's avatar
      cmake-server: Add unit test · b63c1f6c
      Tobias Hunger authored and Brad King's avatar Brad King committed
    • Tobias Hunger's avatar
      cmake-server: Bare-bones server implementation · b13d3e0d
      Tobias Hunger authored and Brad King's avatar Brad King committed
      Adds a bare-bones cmake-server implementation and makes it possible
      to start that with "cmake -E server".
      Communication happens via stdin/stdout for now.
      Protocol is based on Json objects surrounded by magic strings
      ("[== CMake Server ==[" and "]== CMake Server ==]"), which simplifies
      Json parsing significantly.
      This patch also defines an interface used to implement different
      versions of the protocol spoken by the server, but does not include
      any protocol implementaiton.
    • Stephen Kelly's avatar
      Make the add_custom_command output more predictable · 92d76b50
      Stephen Kelly authored and Brad King's avatar Brad King committed
      I otherwise get:
         Expected stderr to match:
          expect-err> CMake Error at AppendNotOutput.cmake:1 \(add_custom_command\):
          expect-err>   add_custom_command given APPEND option with output.*
          expect-err>   which is not already a custom command output.
          expect-err> Call Stack \(most recent call first\):
          expect-err>   CMakeLists.txt:3 \(include\)
         Actual stderr:
          actual-err> CMake Error at AppendNotOutput.cmake:1 (add_custom_command):
          actual-err>   add_custom_command given APPEND option with output
          actual-err>   "/home/stephen/dev/src/cmake/with
          actual-err> space/Tests/RunCMake/add_custom_command/AppendNotOutput-build/out" which is
          actual-err>   not already a custom command output.
          actual-err> Call Stack (most recent call first):
          actual-err>   CMakeLists.txt:3 (include)
      Using a specific line for paths is a style already used elsewhere for
      the same reason, such as CMP0041 output.
  9. 15 Sep, 2016 4 commits
  10. 14 Sep, 2016 1 commit
  11. 13 Sep, 2016 2 commits
  12. 12 Sep, 2016 1 commit