1. 07 Oct, 2016 40 commits
  2. 06 Oct, 2016 40 commits
    • Brad King's avatar
      Android: Suppress -Wattributes warnings in test case builds · ebef3632
      Brad King authored
      We use `-Werror` in the Android test builds to make sure there are
      no warnings that we care about (e.g. unused flags).  However, the
      NDK r13 tools produce a warning about their own builtins:
      
      ```
      <built-in>: In function 'float abs(float)':
      <built-in>: warning: conflicts with previous declaration here [-Wattributes]
      ```
      
      Suppress this warning so that we can continue using `-Werror` but
      tolerate these warnings.
      ebef3632
  3. 03 Oct, 2016 40 commits
  4. 30 Sep, 2016 40 commits
  5. 29 Sep, 2016 40 commits
  6. 28 Sep, 2016 40 commits
    • Matthew Woehlke's avatar
      cmake_parse_arguments: Add additional unit tests · 66c70cd9
      Matthew Woehlke authored
      Add additional unit tests for some corner cases in argument splitting.
      66c70cd9
    • Matthew Woehlke's avatar
      cmake_parse_arguments: Fix PARSE_ARGV multi-value argument handling · 41291b20
      Matthew Woehlke authored
      The `PARSE_ARGV` mode was recently added to help functions properly
      parse their arguments even when those arguments may be quoted and
      contain literal `;` in their values.  Fix the implementation to encode
      `;`s in reported multi-value arguments and in `UNPARSED_ARGUMENTS` so
      that `;`s in the individual values are preserved in the lists.  This
      allows clients to access all their argument values correctly.
      41291b20
    • Tobias Hunger's avatar
      server-mode: Add project data for unit tests · 71a50587
      Tobias Hunger authored
      Do some basic unit tests for "codemodel", "cmakeInputs" and "cache"
      commands of the cmake server.
      
      This just calls the commands right now and makes sure the server
      thinks it can reply to the request. The data itself is currently not
      validated.
      71a50587
    • 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
      9c5238df
    • Brad King's avatar
      Tests: Decide earlier whether to test resources · 40c04821
      Brad King authored
      Provide a CMake_TEST_RESOURCES variable storing the decision.
      40c04821
    • Brad King's avatar
      Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE case · af35ddc8
      Brad King authored
      The `main.cpp` that this test generates needs a newline so that
      compilers do not warn about a missing newline.  Otherwise the warning
      causes RunCMake infrastructure to detect unexpected output.
      af35ddc8
  7. 27 Sep, 2016 40 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 links to `Copyright.txt` and online information
      available from "https://cmake.org/licensing".  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.
      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
  8. 26 Sep, 2016 40 commits
  9. 24 Sep, 2016 40 commits
  10. 23 Sep, 2016 40 commits
  11. 22 Sep, 2016 40 commits
  12. 20 Sep, 2016 40 commits
  13. 19 Sep, 2016 40 commits