1. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      cmConfigure: Ensure separate include block in headers · 5afac50f
      Daniel Pfeifer authored
      Make sure that `#include <cmConfigure.h>` is followed by an empty line
      in header files.  This is necessary to make sure that changing <> to ""
      does not affect the include ordering of clang-format.
      Automate with:
      git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
      | xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
  2. 10 Mar, 2017 1 commit
  3. 26 Oct, 2016 1 commit
  4. 22 Oct, 2016 1 commit
  5. 27 Sep, 2016 1 commit
    • 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...
  6. 27 Jun, 2016 1 commit
  7. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
  8. 03 Dec, 2014 1 commit
    • Ruslan Baratov's avatar
      file: Add LOCK subcommand to do file and directory locking · e6db4c5a
      Ruslan Baratov authored
      Provide options to fail without blocking or to block up to a timeout.
      Provide options to specify the scope containing the lock so it can be
      released automatically at the end of a function, file, or process.
      Extend the RunCMake.file test with cases covering the file(LOCK) command
      usage and error cases.
  9. 08 Mar, 2014 1 commit
  10. 16 Oct, 2013 1 commit
    • Brad King's avatar
      Drop builtin command documentation · e33d8d2d
      Brad King authored
      Drop all GetTerseDocumentation and GetFullDocumentation methods from
      commands.  The command documentation is now in Help/command/*.rst files.
  11. 25 Jul, 2013 1 commit
  12. 24 May, 2013 1 commit
    • Stephen Kelly's avatar
      file: Add GENERATE command to produce files at generate time · b983a58b
      Stephen Kelly authored
      The idea is to write to a temp file which contains generator
      expressions, and at generate time, evaluate the generator expressions,
      and write the result to a file.
      Because executables on Windows are limited in the length of command line
      it is possible to use, it is common to write command line arguments to a
      file instead and specify the file as a source of arguments.
      This new FILE(GENERATE) subcommand allows the use of generator
      expressions to create such files so that they can be used with
      add_custom_command for example.
  13. 05 Dec, 2012 2 commits
  14. 07 Nov, 2012 1 commit
    • Andreas Mohr's avatar
      Documentation: Clarify some command descriptions · 07d5e4b8
      Andreas Mohr authored
      - file(WRITE): add configure_file() decoupling hint
      - function(): definitely mention PARENT_SCOPE
      - include_directories(): mention possible results of SYSTEM setting
      - macro(): mention scope specifics of function()
      - message(): improve SEND_ERROR / FATAL_ERROR docs, since people said it's not obvious
  15. 19 Sep, 2012 1 commit
  16. 14 Sep, 2012 1 commit
    • Brad King's avatar
      Rename SSL terminology to TLS · 131d91a1
      Brad King authored
      TLS has superseded SSL so rename the recently added file(DOWNLOAD) and
      ExternalProject options using the newer terminology.  Drop "CURLOPT"
      from names because curl is an implementation detail.
  17. 11 Sep, 2012 2 commits
  18. 29 Mar, 2012 1 commit
  19. 29 Feb, 2012 1 commit
  20. 16 Nov, 2011 2 commits
  21. 01 Jun, 2011 1 commit
  22. 25 Feb, 2011 1 commit
  23. 16 Dec, 2010 1 commit
    • Brad King's avatar
      Warn in find(GLOB) docs about bad use case (#11617) · 26cc29a8
      Brad King authored
      The first instinct of a lot of users is to use file(GLOB) to assemble
      lists of sources.  Add a warning to the help text stating that it should
      not be used for this purpose and briefly explain why.
      Suggested-By: Ryan Pavlik
  24. 27 May, 2010 1 commit
    • David Cole's avatar
      Improve FILE(DOWNLOAD) and ExternalProject. · f67139ae
      David Cole authored
      Improve FILE(DOWNLOAD ...):
      - Add percent complete progress output to the FILE DOWNLOAD
        command. This progress output is off by default to
        preserve existing behavior. To turn it on, pass
        SHOW_PROGRESS as an argument.
      - Add EXPECTED_MD5 argument. Verify that the downloaded
        file has the expected md5 sum after download is complete.
      - Add documentation for SHOW_PROGRESS and EXPECTED_MD5.
        When the destination file exists already and has the
        expected md5 sum, then do not bother re-downloading
        the file. ("Short circuit" return.)
        Also, add a test that checks for the status output
        indicating that the short circuit behavior is actually
        occurring. Use a binary file for the test so that the
        md5 sum is guaranteed to be the same on all platforms
        regardless of "shifting text file line ending" issues.
      Improve ExternalProject:
      - Add argument URL_MD5.
      - Add verify step that compares md5 sum of .tar.gz file
        before extracting it.
      - Add md5 check to download step, too, to prevent
        unnecessary downloads.
      - Emit a warning message when a file is not verified.
        Indicate that the file may be corrupt or that no
        checksum was specified.
  25. 28 Oct, 2009 1 commit
  26. 22 Oct, 2009 1 commit
  27. 01 Oct, 2009 1 commit
  28. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
  29. 29 Apr, 2009 3 commits
    • Brad King's avatar
      ENH: Create file(COPY) command signature · c58ca242
      Brad King authored
      The file(INSTALL) command has long been undocumented and used only to
      implement install() scripts.  We now document it and provide a similar
      file(COPY) signature which is useful in general-purpose scripts.  It
      provides the capabilities of install(DIRECTORY) and install(FILES) but
      operates immediately instead of contributing to install scripts.
    • Brad King's avatar
      ENH: Refactor file(INSTALL) implementation · 6aaa7d45
      Brad King authored
      The undocumented file(INSTALL) is implemented by a cmFileInstaller class
      inside cmFileCommand.  This refactors the class to split out code not
      specific to installation into a cmFileCopier base class.
    • Brad King's avatar
      ENH: Send all file installations through one path · 97263b6c
      Brad King authored
      This creates a single cmFileInstaller method to dispatch installation of
      symlinks, directories, and files.  The change removes duplicate tests of
      input file type and makes the decision more consistent.
  30. 27 Apr, 2009 1 commit
  31. 15 Apr, 2009 1 commit
  32. 07 Jan, 2009 1 commit
  33. 18 Dec, 2008 1 commit
  34. 11 Sep, 2008 1 commit
  35. 23 Aug, 2008 1 commit