1. 15 Oct, 2013 3 commits
    • Brad King's avatar
      Drop "full" documentation output types · 87cc62ca
      Brad King authored
      We will no longer support full documentation generation from executables
      and will instead generate documentation with other tools.  Disable (with
      a warning left behind) the command-line options:
      
       --copyright
       --help-compatcommands
       --help-full
       --help-html
       --help-man
      
      Drop supporting code.  Drop manual sections generation from executables.
      Remove internal documentation construction APIs.  Drop unused sections
      See Also, Author, Copyright, Compat Commands, Custom Modules.
      87cc62ca
    • Brad King's avatar
      Add reStructuredText (RST) documentation formatter · f85405f5
      Brad King authored
      Temporarily add a RST formatter to convert builtin documentation to .rst
      source files.  This will be removed shortly after we use it to convert
      documentation.
      
      Teach the RST formatter to:
      
      * Output preformatted blocks as reStructuredText "::" literal blocks.
      
      * Output option lists as bullet lists with option names enclosed in
        reStructuredText ``literal`` quoting.
      
      * Output individual documentation objects (commands, variables, etc.)
        in separate .rst files organized in directories by type.
      
      Replace references to cmVersion::GetCMakeVersion() in builtin
      documentation with the literal placeholder "|release|" that will be
      defined as a substitution later.
      f85405f5
    • Brad King's avatar
      Drop CPack module documentation markup extraction · 0d0fec15
      Brad King authored
      This will be replaced by alternative markup later.
      0d0fec15
  2. 08 Oct, 2013 1 commit
  3. 21 Jun, 2012 3 commits
  4. 18 Feb, 2012 1 commit
  5. 14 Feb, 2012 2 commits
  6. 22 Jan, 2012 3 commits
    • 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
    • Eric Noulard's avatar
      Implement simple CMake script comment markup language. · 83e34dd9
      Eric Noulard authored
      The language is very simple. It use ##<keyword> special comment
      which opens a structured documentation block and ##end closes it.
      This may be used to extract documentation for macro as 'command'
      and 'variables' such that cpack --help-command and --help-variable
      does parse builtin modules files (CPack.cmake, CPackComponent.cmake,
      ...) in order to extract the corresponding doc.
      83e34dd9
    • Eric Noulard's avatar
      CPack begin the implementation of --help-command* and --help-variables* · c6a01694
      Eric Noulard authored
      This modifications set tries to keep the unified doc for cmake/ctest/cpack
      while introducing tool specific documentation separated.
      Some documentation sections for CMake do not fit well to CPack.
      c6a01694
  7. 28 Jan, 2010 1 commit
  8. 24 Nov, 2009 1 commit
  9. 01 Oct, 2009 1 commit
  10. 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
  11. 10 Oct, 2008 1 commit
    • Brad King's avatar
      ENH: Improve generated documentation formatting · 5a82a0b1
      Brad King authored
      Applying patch provided in issue #7797.
      
      Fixes to man-pages:
        - Character '-' must be espaced as '\-'
        - Surround preformatted text with '.nf' and '.fi' to adjust filling
        - Give every page a NAME section for indexing by mandb
        - Pass the man page filename without extension to .TH in its header
      
      Also added a title to the HTML header.
      5a82a0b1
  12. 19 Aug, 2008 1 commit
  13. 04 Mar, 2008 1 commit
  14. 19 Feb, 2008 1 commit
  15. 24 Oct, 2007 1 commit
  16. 22 Oct, 2007 2 commits
  17. 19 Sep, 2007 2 commits
    • Alexander Neundorf's avatar
      · 31881265
      Alexander Neundorf authored
      ENH: add new help option --help-custom-modules, which generates
      documentation for all modules found in CMAKE_MODULE_PATH, which currently
      has to be specified via -D, this can later on be improved e.g. by reading a
      special (to-be-created) file like CMakeFiles/ModulePath.cmake in the build
      tree so that running cmake help in the build tree of a project will always
      give you the current module path. (This could actually also help IDEs which
      would like to support cmake for projects...)
      
      Alex
      31881265
    • Alexander Neundorf's avatar
      · c5f249bd
      Alexander Neundorf authored
      STYLE: move the code for the different formats of the generated help into
      their own classes, making cmDocumentation smaller and also making it easier
      to eventually add another format
      
      Alex
      c5f249bd
  18. 11 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 9f16292b
      Alexander Neundorf authored
      STYLE: sort the property documentation into
      global/directory/target/test/sourcefile and variable sections
      
      Alex
      9f16292b
  19. 03 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · ad2fe23f
      Alexander Neundorf authored
      COMP: fix compile on HP-UX with aCC, reusing the same identifier for a
      variable as for the enum type doesn't work here
      
      Alex
      ad2fe23f
  20. 02 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 611f86b7
      Alexander Neundorf authored
      COMP: fix build with msvc 6, the enums are now part of a class which is
      already completely parsed
      
      Alex
      611f86b7
  21. 28 Jun, 2007 2 commits
    • Alexander Neundorf's avatar
      · 151d5555
      Alexander Neundorf authored
      ENH: generate separate documentation for the commands, compatiblity
      commands, modules and properties as html, text and man pages.
      The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules,
      so they are easy to type.
      
      Alex
      151d5555
    • Alexander Neundorf's avatar
      · c95dc912
      Alexander Neundorf authored
      ENH:
      -in the full documentation there is now an extra section for
      compatibility commands, so users see which commands they shouldn't use
      -cmake -h <command> now also works with lower case commands
      --help-fullm --help-command, --help-module and --help-property now determine
      the output format from the extension of the given filename
      
      Let me know if there are some things I overlooked.
      
      Alex
      c95dc912
  22. 22 Jun, 2007 1 commit
    • Alexander Neundorf's avatar
      · 1d9889c5
      Alexander Neundorf authored
      ENH: put compatibility commands in extra section and prepare for creating
      separate man pages for properties, modules, commands and compatibility
      commands
      
      Alex
      1d9889c5
  23. 02 Feb, 2007 2 commits
  24. 01 Feb, 2007 1 commit
  25. 22 Jan, 2007 1 commit
  26. 07 Dec, 2006 1 commit
  27. 13 Apr, 2006 1 commit
  28. 14 Dec, 2005 1 commit
  29. 14 Apr, 2004 1 commit