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/ }'
      5afac50f
  2. 26 Oct, 2016 1 commit
  3. 22 Oct, 2016 1 commit
  4. 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...
      86578ecc
  5. 27 Jun, 2016 1 commit
  6. 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.
      d9fd2f54
  7. 08 Mar, 2014 1 commit
  8. 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.
      e33d8d2d
  9. 02 Aug, 2013 1 commit
    • Stephen Kelly's avatar
      Add the ALIAS target concept for libraries and executables. · 370bf554
      Stephen Kelly authored
      * The ALIAS name must match a validity regex.
      * Executables and libraries may be aliased.
      * An ALIAS acts immutable. It can not be used as the lhs
        of target_link_libraries or other commands.
      * An ALIAS can be used with add_custom_command, add_custom_target,
        and add_test in the same way regular targets can.
      * The target of an ALIAS can be retrieved with the ALIASED_TARGET
        target property.
      * An ALIAS does not appear in the generated buildsystem. It
        is kept separate from cmMakefile::Targets for that reason.
      * A target may have multiple aliases.
      * An ALIAS target may not itself have an alias.
      * An IMPORTED target may not have an alias.
      * An ALIAS may not be exported or imported.
      370bf554
  10. 29 Feb, 2012 1 commit
  11. 25 Jan, 2012 1 commit
    • Brad King's avatar
      Optionally allow IMPORTED targets to be globally visible · ca39c5cd
      Brad King authored
      Consider the case motivating commit e01cce28 (Allow add_dependencies()
      on imported targets, 2010-11-19).  An imported target references a file
      generated at build time by a custom target on which it depends.  Had the
      file been built directly using add_library or add_executable its target
      name would have been visible globally.  Therefore the imported target
      representing the file should be globally visible also.
      
      Teach the IMPORTED signature of add_(executable|library) to accept a new
      "GLOBAL" option to make the imported target visible globally.
      ca39c5cd
  12. 01 Oct, 2009 1 commit
  13. 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.
      96afb120
  14. 03 Sep, 2009 1 commit
  15. 11 Feb, 2008 1 commit
    • Brad King's avatar
      ENH: Enforce global target name uniqueness. · ac0e58dc
      Brad King authored
        - Error if imported target is involved in conflict
        - Error for non-imported target conflict unless
          CMAKE_BACKWARDS_COMPATIBILITY <= 2.4
        - Include OUTPUT_NAME property in error message
        - Update add_executable and add_library command documentation
      ac0e58dc
  16. 28 Jan, 2008 1 commit
    • Brad King's avatar
      ENH: Updated exporting and importing of targets to support libraries and configurations. · 5594ad48
      Brad King authored
        - Created cmExportFileGenerator hierarchy to implement export file generation
        - Installed exports use per-config import files loaded by a central one.
        - Include soname of shared libraries in import information
        - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands
        - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators
        - Import files compute the installation prefix relative to their location when loaded
        - Add mapping of importer configurations to importee configurations
        - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries
        - Scope IMPORTED targets within directories to isolate them
        - Place all properties created by import files in the IMPORTED namespace
        - Document INSTALL(EXPORT) and EXPORT() commands.
        - Document IMPORTED signature of add_executable and add_library
        - Enable finding of imported targets in cmComputeLinkDepends
      5594ad48
  17. 23 Jan, 2008 1 commit
  18. 09 Jan, 2008 1 commit
  19. 10 Oct, 2007 1 commit
  20. 02 Oct, 2006 2 commits
  21. 10 Mar, 2006 1 commit
  22. 28 Apr, 2004 1 commit
  23. 23 Apr, 2004 1 commit
  24. 08 Apr, 2004 1 commit
  25. 10 Aug, 2003 1 commit
  26. 14 Feb, 2003 1 commit
  27. 30 Dec, 2002 1 commit
  28. 23 Oct, 2002 1 commit
  29. 21 Jan, 2002 1 commit
  30. 20 Sep, 2001 1 commit
  31. 06 Jun, 2001 1 commit
  32. 11 May, 2001 1 commit
  33. 27 Apr, 2001 1 commit
  34. 11 Apr, 2001 1 commit
  35. 26 Feb, 2001 1 commit
  36. 18 Jan, 2001 1 commit
  37. 12 Jan, 2001 1 commit
  38. 10 Jan, 2001 2 commits