1. 16 Oct, 2013 2 commits
    • Brad King's avatar
      Drop all documentation formatters except Usage · 80a3273b
      Brad King authored
      We now need only the Usage formatter to support command-line options
      that print basic usage, and the supporting indented=>preformatted markup
      processor to support CMake message formatting.  Drop all other
      documentation formatters and move the remaining code up into the top
      cmDocumentationFormatter class.
    • Brad King's avatar
      Teach --help-* options to load documentation from .rst files · ec6df367
      Brad King authored
      Install the Help directory next to Modules to make it available in CMake
      distributions.  Use cmRST to read Help .rst documents and print them as
      help output.
      Add options
      to list available manuals or print one of them.  Implement the options
      by mapping to the corresponding manual page.  Implement the options
      by globbing the available Help .rst documents of the corresponding type
      and reading their titles.  Implement the options
      by globbing the matching Help .rst document(s) and printing them.
  2. 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:
      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.
    • 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
      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.
    • Brad King's avatar
      Drop CPack module documentation markup extraction · 0d0fec15
      Brad King authored
      This will be replaced by alternative markup later.
  3. 08 Oct, 2013 1 commit
  4. 21 Jun, 2012 3 commits
  5. 18 Feb, 2012 1 commit
  6. 14 Feb, 2012 2 commits
  7. 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
    • 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.
    • 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.
  8. 28 Jan, 2010 1 commit
  9. 24 Nov, 2009 1 commit
  10. 01 Oct, 2009 1 commit
  11. 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.
  12. 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.
  13. 19 Aug, 2008 1 commit
  14. 04 Mar, 2008 1 commit
  15. 19 Feb, 2008 1 commit
  16. 24 Oct, 2007 1 commit
  17. 22 Oct, 2007 2 commits
  18. 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...)
    • 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
  19. 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
  20. 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
  21. 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
  22. 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.
    • Alexander Neundorf's avatar
      · c95dc912
      Alexander Neundorf authored
      -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.
  23. 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
  24. 02 Feb, 2007 2 commits
  25. 01 Feb, 2007 1 commit
  26. 22 Jan, 2007 1 commit
  27. 07 Dec, 2006 1 commit
  28. 13 Apr, 2006 1 commit