1. 13 Apr, 2015 2 commits
    • Stephen Kelly's avatar
      cmMakefile: Remove unused CacheManager accessor. · f71fdf0e
      Stephen Kelly authored
      Remove unneeded friend declarations from cmCacheManager.
    • Stephen Kelly's avatar
      Introduce cmState class. · a6b1ad13
      Stephen Kelly authored
      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.
  2. 08 Apr, 2015 2 commits
    • Stephen Kelly's avatar
      cmCacheManager: Add non-iterator-based API. · 1e2dbfce
      Stephen Kelly authored
      The iterator pattern is an unusual one for CMake, and it hinders
      refactoring all configuration-time data manipulation into a
      single class.
    • Stephen Kelly's avatar
      cmCacheManager: Return a C string from GetValue. · 60a62a91
      Stephen Kelly authored
      This is for consistency with other CMake access interfaces such as
      definitions and properties which use a null value as a 'not present'
      value.  It is source compatible with existing callers, and it returns
      a pointer into actual real cache entry storage.
  3. 07 Apr, 2015 2 commits
  4. 06 Apr, 2015 2 commits
  5. 05 Apr, 2015 2 commits
  6. 08 Mar, 2014 6 commits
  7. 22 Jan, 2014 1 commit
  8. 18 Oct, 2013 1 commit
  9. 16 Oct, 2013 1 commit
    • Brad King's avatar
      Drop builtin property documentation · 399e9c46
      Brad King authored
      Drop all DefineProperty calls for non-chained properties.  Drop the
      documentation from the chained ones.  The documentation for all
      properties is now in Help/prop_*/*.rst files.
  10. 16 May, 2013 1 commit
  11. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored
      Our Git commit hooks disallow modification or addition of lines with
      trailing whitespace.  Wipe out all remnants of trailing whitespace
      everywhere except third-party code.
      Run the following shell code:
      git ls-files -z -- \
       bootstrap doxygen.config '*.readme' \
       '*.c' '*.cmake' '*.cpp' '*.cxx' \
       '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
       '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
      egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
      egrep -z -v '^(Modules/CPack\..*\.in)' |
      xargs -0 sed -i 's/ \+$//'
  12. 15 Jul, 2011 1 commit
  13. 22 Nov, 2010 1 commit
  14. 01 Oct, 2009 1 commit
  15. 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.
  16. 11 Sep, 2009 1 commit
    • Brad King's avatar
      Remove barely-used cmCacheManager::AddCacheEntry · 74b79d3b
      Brad King authored
      The commit "Remove barely-used cmMakefile::AddCacheDefinition" removed
      all but one use of the cmCacheManager method 'bool' overload.  This
      commit removes the other use and the entire method, thus reducing code
  17. 13 Mar, 2009 1 commit
  18. 12 Mar, 2009 1 commit
  19. 10 Mar, 2009 3 commits
    • Brad King's avatar
      ENH: Document CACHE entry properties · 32258b44
      Brad King authored
      This adds a property documentation section for CACHE properties.
      We document the ADVANCED, HELPSTRING, TYPE, and VALUE properties.
    • Brad King's avatar
      ENH: Teach set/get_property about CACHE properties · e5e91d61
      Brad King authored
      This adds the CACHE option to set_property and get_property commands.
      This allows full control over cache entry information, so advanced users
      can tweak their project cache as desired.  The set_property command
      allows only pre-defined CACHE properties to be set since others would
      not persist anyway.
    • Brad King's avatar
      ENH: Use cmPropertyMap for cache properties · ca9fb482
      Brad King authored
      This re-implements cache entry property storage in cmCacheManager to use
      cmPropertyMap so it can share the standard property implementation.
  20. 07 Mar, 2008 1 commit
  21. 29 Jan, 2008 1 commit
  22. 24 Jan, 2008 1 commit
  23. 10 Apr, 2007 1 commit
  24. 15 Mar, 2006 1 commit
  25. 10 Mar, 2006 1 commit
  26. 09 Mar, 2006 1 commit
  27. 29 Sep, 2004 1 commit
  28. 20 May, 2004 1 commit