Skip to content
Snippets Groups Projects
  1. Mar 06, 2017
  2. Nov 29, 2016
  3. Nov 14, 2016
  4. Nov 10, 2016
  5. Oct 21, 2016
  6. Oct 19, 2016
  7. Oct 15, 2016
  8. Oct 10, 2016
    • Stephen Kelly's avatar
      cmLinkLineComputer: Extract from cmLocalGenerator · 5b361fdd
      Stephen Kelly authored
      CMake has several classes which have too many responsibilities.
      cmLocalGenerator is one of them.  Start to extract the link line
      computation.  Create generator-specific implementations of the interface
      to account for generator-specific behavior.
      
      Unfortunately MSVC60 has different behavior to everything else and CMake
      still generates makefiles for it.  Isolate it with MSVC60-specific
      names.
      5b361fdd
  9. Sep 29, 2016
  10. Sep 27, 2016
    • 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
  11. Aug 25, 2016
    • Stephen Kelly's avatar
      cmMessenger: Extract from cmake class · 421012a3
      Stephen Kelly authored and Brad King's avatar Brad King committed
      This way messages can be issued independent of the cmake instance.
      
      It is now possible to make DisplayMessage a virtual interface and
      override it to handle messages in the cmake-gui or future IDE
      interaction interfaces.
      421012a3
  12. Jul 20, 2016
  13. Jun 29, 2016
    • Brad King's avatar
      Avoid using KWSys auto_ptr by adopting it ourselves · b5ec5b09
      Brad King authored
      Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to
      our own implementation adopted from the KWSys auto_ptr implementation.
      Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers
      that do not warn about it.
      
      Automate the client site conversions:
      
          git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \
            's|cmsys::auto_ptr|CM_AUTO_PTR|;s|cmsys/auto_ptr.hxx|cm_auto_ptr.hxx|'
      b5ec5b09
  14. Jun 27, 2016
  15. Jun 01, 2016
  16. Jan 13, 2016
  17. Dec 21, 2015
  18. Dec 18, 2015
  19. Oct 28, 2015
  20. Oct 20, 2015
  21. Oct 14, 2015
    • Stephen Kelly's avatar
      cmMakefile: Store container of cmExportBuildFileGenerators. · 488723f5
      Stephen Kelly authored and Brad King's avatar Brad King committed
      Set a cmLocalGenerator on each instance at compute time.  That will
      soon be needed to access cmGeneratorTarget instances.
      
      If a cmExportBuildFileGenerator is processed early during configure time as a
      result of CMP0024 it must be removed from the list to process later at generate
      time.
      488723f5
  22. Oct 08, 2015
  23. Oct 06, 2015
  24. Sep 02, 2015
    • Brad King's avatar
      bootstrap: Remove unused KWSys configuration · 89958fd0
      Brad King authored
      KWSys has removed support for kwsys_ios, kwsys_stl, and pre-c++98
      template compatibility layers.  Drop the bootstrap script checks for
      these and configuration of the compatibility headers we no longer use.
      89958fd0
  25. Aug 10, 2015
  26. Jul 09, 2015
  27. Jun 06, 2015
    • Stephen Kelly's avatar
      cmOutputConverter: Extract from cmLocalGenerator. · 6d7abb63
      Stephen Kelly authored
      The Convert methods never belonged to the local generator concept, so
      split them out now.  The cmOutputConverter is cheap to construct and
      destroy, so it can be instantiated where needed to perform
      conversions.  This will allow further decoupling of cmLocalGenerator
      from the configure step.
      
      Inherit cmLocalGenerator from cmOutputConverter for the purpose of
      source compatibility.
      6d7abb63
  28. Apr 30, 2015
  29. Apr 13, 2015
    • Stephen Kelly's avatar
      Introduce cmState class. · a6b1ad13
      Stephen Kelly authored and Brad King's avatar Brad King committed
      At this point, it is an interface to the cache.  It will be extended
      to be a universal interface for access to and manipulation of
      configuration-time data (defintions, properties on targets,
      directories, source files etc).
      
      This will allow porting all command implementations away
      from the cmMakefile and cmTarget classes, and result in something
      more-purely related to configuration-time processing of cmake
      commands.  That should serve at least the following goals:
      
       * Split the CMake implementation more definitively into three
         stages: Configuration, computation and generation, and be able to
         implement each optimally for memory access patterns etc.
       * Make better IDE integration possible by making more configuration
         data available.
       * Make it possiblte to use a smaller library than CMakeLib.a in
         cpack and ctest, resulting in smaller executables.
       * Make it possible to run the configure step multiple times in
         the same CMake run (#14539).
      
      Manage its lifetime in the cmake class, and add a convenience accessor
      to cmMakefile.
      a6b1ad13
  30. Apr 12, 2015
  31. Mar 10, 2015
Loading