1. 15 Sep, 2017 1 commit
    • Brad King's avatar
      Use C++11 override instead of CM_OVERRIDE · 0b33aee4
      Brad King authored
      We now require C++11 support including `override`.  Drop use of
      the old compatibility macro.  Convert references as follows:
      
          git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' |
            xargs sed -i 's/CM_OVERRIDE/override/g'
      0b33aee4
  2. 26 Aug, 2017 1 commit
  3. 11 May, 2017 1 commit
  4. 11 Apr, 2017 2 commits
    • 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
    • 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
  5. 13 Feb, 2017 1 commit
  6. 24 Oct, 2016 1 commit
  7. 22 Oct, 2016 1 commit
  8. 21 Oct, 2016 1 commit
  9. 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
  10. 13 Sep, 2016 1 commit
    • Bill Hoffman's avatar
      Add support for creating prebuilt Android.mk files · 42ce9f1e
      Bill Hoffman authored
      Add options to the `install()` and `export()` commands to export the
      targets we build into Android.mk files that reference them as prebuilt
      libraries with associated usage requirements (compile definitions,
      include directories, link libraries).  This will allow CMake-built
      projects to be imported into projects using the Android NDK build
      system.
      
      Closes: #15562
      42ce9f1e
  11. 27 Jun, 2016 1 commit
  12. 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
  13. 08 Mar, 2014 1 commit
  14. 24 Dec, 2013 1 commit
    • Stephen Kelly's avatar
      export: Implement EXPORT subcommand (#9822) · cbe7e8fa
      Stephen Kelly authored
      Teach the export command to handle export sets defined by invocations
      of install(TARGETS ... EXPORT foo).  This makes maintenance of targets
      exported to both the build tree and install tree trivial.
      cbe7e8fa
  15. 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
  16. 11 Oct, 2013 1 commit
    • Stephen Kelly's avatar
      export(): Process the export() command at generate time. · 66b290e7
      Stephen Kelly authored
      Make the API for adding targets string based so that it can easily
      use cmGeneratorTarget.
      
      Teach the cmIncludeCommand to generate the exported file at
      configure-time instead if it is to be include()d.
      
      The RunCMake.ExportWithoutLanguage test now needs a dummy header.h
      file as expected error from export() is now reported after the
      missing file error.
      66b290e7
  17. 08 Jul, 2013 1 commit
    • Stephen Kelly's avatar
      Export: Generate INTERFACE_LINK_LIBRARIES property on targets. · 574fec97
      Stephen Kelly authored
      This property is generated only for targets which have recorded
      policy CMP0022 as NEW, and a compatibility mode is added to
      additionally export the old interfaces in that case too.
      
      If the old interfaces are not exported, the generated export files
      require CMake 2.8.12. Because the unit tests use a version which
      is not yet called 2.8.12, temporarily require a lower version.
      574fec97
  18. 29 Feb, 2012 1 commit
  19. 01 Dec, 2011 1 commit
    • Brad King's avatar
      export(): Document undefined behavior of location properties · fea3e84e
      Brad King authored
      Since the export() command needs to know the final location of a target
      in the build tree we cannot allow properties affecting the location or
      name of a target file to be set after the target is passed to export().
      
      Fix a violation of this rule in the SimpleInstall test.
      fea3e84e
  20. 01 Oct, 2009 1 commit
  21. 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
  22. 01 Sep, 2009 1 commit
    • Brad King's avatar
      Teach export(PACKAGE) to fill the package registry · 16ce84b0
      Brad King authored
      We define the export(PACKAGE) command mode to store the location of the
      build tree in the user package registry.  This will help find_package
      locate the package in the build tree.  It simplies user workflow for
      manually building a series of dependent projects.
      16ce84b0
  23. 30 Jan, 2008 1 commit
    • Brad King's avatar
      ENH: Implemented link-interface specification feature. · 7902bc06
      Brad King authored
        - Shared libs and executables with exports may now have
          explicit transitive link dependencies specified
        - Created LINK_INTERFACE_LIBRARIES and related properties
        - Exported targets get the interface libraries as their
          IMPORTED_LINK_LIBRARIES property.
        - The export() and install(EXPORT) commands now give
          an error when a linked target is not included since
          the user can change the interface libraries instead
          of adding the target.
      7902bc06
  24. 28 Jan, 2008 2 commits
    • Brad King's avatar
    • 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
  25. 23 Jan, 2008 1 commit
  26. 20 Dec, 2007 1 commit
  27. 10 Oct, 2007 1 commit
  28. 20 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 55303d6d
      Alexander Neundorf authored
      STYLE: fix line lengths
      
      Alex
      55303d6d
  29. 02 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 2e56fa48
      Alexander Neundorf authored
      ENH: add framework for unified handling of arguments to cmake commands,
      example see cmExportCommand.cxx
      
      Alex
      2e56fa48
  30. 08 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · 0ddc9f62
      Alexander Neundorf authored
      ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
      write generators for IDE projects, which use already existing makefiles
      (current the kdevelop generator)
      -first stept of the export interface, iniitial export() command
      -more replacements for the FIND_XXX docs
      
      Alex
      0ddc9f62
  31. 10 May, 2006 1 commit
  32. 15 Mar, 2006 1 commit
  33. 10 Aug, 2003 1 commit
  34. 14 Feb, 2003 1 commit
  35. 20 Jan, 2003 1 commit
  36. 30 Dec, 2002 1 commit
  37. 23 Oct, 2002 1 commit
  38. 21 Jan, 2002 1 commit