1. 04 Apr, 2019 1 commit
  2. 29 Jan, 2019 1 commit
  3. 22 Jan, 2019 1 commit
  4. 07 Nov, 2018 1 commit
    • Kyle Edwards's avatar
      install: Add sane set of defaults for DESTINATION and file type parameters · 9fc20a4f
      Kyle Edwards authored
      If the user does not specify a DESTINATION for a target type, the
      install() command checks to see if the appropriate variable from
      GNUInstallDirs is set. If it is not, then it uses an appropriate
      hard-coded guess.
      
      In addition, for FILES and DIRECTORY, the user can specify a file
      type instead of a DESTINATION, and the command will use the
      appropriate variable from GNUInstallDirs, or a hard-coded guess if
      it is not set.
      9fc20a4f
  5. 03 May, 2018 1 commit
  6. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
      1d829c86
  7. 08 Nov, 2016 1 commit
  8. 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 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
  9. 03 Sep, 2016 1 commit
  10. 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
  11. 29 Apr, 2016 1 commit
    • Brad King's avatar
      Source: Stabilize include order · 180538c7
      Brad King authored
      Each source file has a logical first include file.  Include it in an
      isolated block so that tools that sort includes do not move them.
      180538c7
  12. 04 Feb, 2016 1 commit
    • Nick Lewis's avatar
      install: Add EXCLUDE_FROM_ALL option (#14921) · 18ce97c4
      Nick Lewis authored
      Let us take an example of a project that has some tests in a component
      that need to be installed into a dedicated test package.  The user
      expectation is that the result could be achieved by typing the
      following:
      
          make
          make tests
          make install
          DESTDIR=/testpkgs make install-tests
      
      However this results in test components in the default installation as
      well as the testpkg.
      
      Add an EXCLUDE_FROM_ALL option to the install() command to tell it that
      the installation rule should not be included unless its component is
      explicitly specified for installation.
      18ce97c4
  13. 24 Jul, 2013 1 commit
  14. 11 Jul, 2012 1 commit
    • Brad King's avatar
      install: Fix COMPONENT option · 8720aa04
      Brad King authored
      Since commit 7ced0732 (make default install component name configurable,
      2012-05-13) the COMPONENT option has not worked in all cases.  The
      change restored use of the broken SetDefaultString previously removed by
      commit 43cad3e4 (fix the default "Unspecified" component, 2008-03-26).
      
      Remove SetDefaultString and use the default component name only when an
      invocation does not specify a non-empty COMPONENT option value.
      
      Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680825
      8720aa04
  15. 14 May, 2012 1 commit
    • Alexander Neundorf's avatar
      make default install component name configurable · 7ced0732
      Alexander Neundorf authored
      Until now an unnamed component was always named "Unspecified".
      Now this name is taken from the new cmake variable CMAKE_INSTALL_DEFAULT_COMPONENT_NAME,
      which is initialized to "Unspecified". But it can now be set to something
      project-specific, per directory
      
      Alex
      7ced0732
  16. 13 May, 2012 1 commit
  17. 01 Oct, 2009 1 commit
  18. 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
  19. 04 Feb, 2008 1 commit
  20. 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
  21. 31 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · a4fb9359
      Alexander Neundorf authored
      STYLE: fix line lengths
      
      Alex
      a4fb9359
  22. 24 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 938ed771
      Alexander Neundorf authored
      STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of
      cmInstallCommandArguments instead of deriving from it
      
      Alex
      938ed771
  23. 23 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · be2705de
      Alexander Neundorf authored
      ENH: class for parsing the arguments for INSTALL()
      
      Alex
      be2705de