1. 30 Sep, 2016 1 commit
  2. 27 Sep, 2016 6 commits
    • Brad King's avatar
      756169ac
    • 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 lin...
      86578ecc
    • Brad King's avatar
    • Domen Vrankar's avatar
      CPack/RPM debuginfo directories to sources · dd3c938a
      Domen Vrankar authored
      List of sources must be split into paths parts
      so that debuginfo package cleans up after
      itself.
      dd3c938a
    • Domen Vrankar's avatar
      CPack/RPM debuginfo packages must contain sources · b78fcf0d
      Domen Vrankar authored
      Issue #15668 fix was missing relevant source
      files in debuginfo package.
      b78fcf0d
    • Nils Gladitz's avatar
      Ninja: Add source location as include directory for preprocessed files · 144cc6f1
      Nils Gladitz authored
      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
      144cc6f1
  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.
      d0be1e15
    • 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.
      cbca6582
    • 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.
      7a4b8d0d
    • Petr Orlov's avatar
      CPack: Add option to generate a checksum file next to each package file · 1c63aa4d
      Petr Orlov authored
      Add variable CPACK_PACKAGE_CHECKSUM to activate it.
      1c63aa4d
    • Domen Vrankar's avatar
    • Tobias Hunger's avatar
      cmake-server: Add unit test · b63c1f6c
      Tobias Hunger authored
      b63c1f6c
    • Tobias Hunger's avatar
      cmake-server: Bare-bones server implementation · b13d3e0d
      Tobias Hunger authored
      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.
      b13d3e0d
    • Stephen Kelly's avatar
      Make the add_custom_command output more predictable · 92d76b50
      Stephen Kelly authored
      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.
      92d76b50
  9. 15 Sep, 2016 4 commits
  10. 14 Sep, 2016 1 commit
  11. 13 Sep, 2016 2 commits
  12. 12 Sep, 2016 2 commits
    • Ruslan Baratov's avatar
      string(TIMESTAMP ...): add '%a' and '%b' format specifiers · 751f7b52
      Ruslan Baratov authored
      %b: Abbreviated month name (e.g. Oct).
      %a: Abbreviated weekday name (e.g. Fri).
      751f7b52
    • Matthew Woehlke's avatar
      Tests: Refactor GenerateExportHeader test code · 612d6f29
      Matthew Woehlke authored
      Refactor the library code used in the GenerateExportHeader test to use
      an improved naming convention that more directly identifies what it
      being tested, making use of namespaces to avoid possible symbol
      collisions. This also eliminates duplicate cases such as `libshared()`
      and `libshared_not_exported()` which had the same decoration, and adds
      consistent pairings of <name>_EXPORT and <name>_DEPRECATED_EXPORT which
      were missing previously. The data tests from the previous commit are
      also added to `libstatic` and `libshared_and_static` for consistency.
      
      Note that there are no exported members of exported classes, as these
      are not allowed on Windows.
      612d6f29