1. 30 Oct, 2013 2 commits
  2. 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
  3. 08 Aug, 2013 1 commit
  4. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Remove trailing whitespace from most CMake and C/C++ code · 7bbaa428
      Kitware Robot authored and Brad King's avatar Brad King committed
      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/ \+$//'
      7bbaa428
  5. 29 Feb, 2012 1 commit
  6. 22 Jan, 2012 1 commit
    • Eric Noulard's avatar
      CPack Documentation extraction from CMake script begins to work · 1629615a
      Eric Noulard authored
       - Enhance extract doc parser. Seems robust now. The legacy
         module documentation parser works as before ignoring
         the new markup.
      
       - Proof of concept for CPack (generic), CPack RPM and CPack Deb
         generator for macro and variables.
         Try cpack --help-command and cpack --help-variables
      1629615a
  7. 01 Sep, 2010 1 commit
  8. 01 Oct, 2009 1 commit
  9. 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
  10. 22 Jan, 2009 1 commit
    • Brad King's avatar
      ENH: Better policies for functions and macros · 3028ca75
      Brad King authored
      This teaches functions and macros to use policies recorded at creation
      time when they are invoked.  It restores the policies as a weak policy
      stack entry so that any policies set by a function escape to its caller
      as before.
      3028ca75
  11. 21 Jan, 2009 3 commits
    • Brad King's avatar
      ENH: Enforce logical blocks in functions/macros · 919fdb7f
      Brad King authored
      This teaches function() and macro() to enforce matching logical blocks
      inside the recorded bodies.  This makes the error message more specific.
      919fdb7f
    • Brad King's avatar
      ENH: Better handling of mismatched blocks · 1dcc5b45
      Brad King authored
      If a logical block terminates with mismatching arguments we previously
      failed to remove the function blocker but replayed the commands anyway,
      which led to cases in which we failed to report the mismatch (return
      shortly after the ending command).  The recent refactoring of function
      blocker deletion changed this behavior to produce an error on the ending
      line by not blocking the command.  Furthermore, the function blocker
      would stay in place and complain at the end of every equal-level block
      of the same type.
      
      This teaches CMake to treat the begin/end commands (if/endif, etc.) as
      correct and just warns when the arguments mismatch.  The change allows
      cases in which CMake 2.6.2 silently ignored a mismatch to run as before
      but with a warning.
      1dcc5b45
    • Brad King's avatar
      ENH: Better error message for unclosed blocks · bca10262
      Brad King authored
      This centralizes construction of the error message for an unclosed
      logical block (if, foreach, etc.).  We record the line at which each
      block is opened so it can be reported in the error message.
      bca10262
  12. 24 Sep, 2008 1 commit
    • Brad King's avatar
      ENH: Improve context for errors in macros · dbd88e00
      Brad King authored
      We now properly report the source location of command arguments inside
      macros instead of using the macro invocation site.  No information is
      lost because full call-stack information is already reported.
      dbd88e00
  13. 07 Mar, 2008 1 commit
    • Brad King's avatar
      ENH: New format for warning and error messages · 680104a4
      Brad King authored
        - Add cmMakefile methods IssueError and IssueWarning
        - Maintain an explicit call stack in cmMakefile
        - Include context/call-stack info in messages
        - Nested errors now unwind the call stack
        - Use new mechanism for policy warnings and errors
        - Improve policy error message
        - Include cmExecutionStatus pointer in call stack
          so that errors deeper in the C++ stack under
          a command invocation will become errors for the
          command
      680104a4
  14. 29 Feb, 2008 1 commit
  15. 23 Jan, 2008 1 commit
  16. 07 Dec, 2006 1 commit
  17. 01 Dec, 2006 2 commits
  18. 03 Oct, 2006 2 commits
  19. 31 May, 2006 1 commit
  20. 23 May, 2006 1 commit
  21. 12 May, 2006 1 commit
  22. 15 Mar, 2006 1 commit
  23. 10 Mar, 2006 1 commit
  24. 05 Jul, 2005 1 commit
  25. 23 Jun, 2005 2 commits
  26. 14 Jun, 2005 1 commit
  27. 12 Apr, 2005 1 commit
  28. 18 Mar, 2005 2 commits
  29. 04 Aug, 2004 1 commit
  30. 19 May, 2004 1 commit
  31. 29 Apr, 2004 1 commit
  32. 27 Apr, 2004 1 commit
  33. 26 Apr, 2004 1 commit