CMake/Utilities
Brad King bfe07aa97e Build Help documentation during CMake build using Sphinx
Add a Utilities/Sphinx directory to hold CMake build code to run the
Sphinx (sphinx-doc.org) documentation generation tool.  Create a
CMakeLists.txt file there capable of building either as a subdirectory
of the main CMake build, or as a standalone documentation build.

Add cache options SPHINX_MAN and SPHINX_HTML to select output formats
and SPHINX_EXECUTABLE to specify the sphinx-build executable.  Add
bootstrap options --sphix-man and --sphinx-html to select output formats
and --sphinx-build=<sb> to specify the sphinx-build executable.

Create a "conf.py.in" file to configure_file into "conf.py" to tell
sphinx-build how to build our documents.  Create a "cmake.py" Sphinx
extension module defining:

* The "cmake-module" directive used in Help/module/*.rst files to
  scan .rst markup from the corresponding Modules/*.cmake file.

* A Sphinx domain called "cmake" defining documentation object types
  for CMake Help/<type> directories: command, generator, manual,
  module, policy, prop_*, and variable.  Add a "role" for each type
  to perform cross-references.  Teach the roles to treat "<XYZ>"
  as placeholders instead of explicit targets if not preceded by
  a space.  Add cmake domain directives to define command and
  variable objects explicitly in .rst file content.  This will
  allow modules to define their own commands and variables and
  have them indexed and linkable.

* A Sphinx document transform that converts Help/<type>/*.rst documents
  into cmake domain objects of the corresponding <type> and adds index
  entries for them.  This will automatically index all CMake documentation
  objects and provide cross-reference targets for them with no special
  markup in the .rst files.
2013-10-16 09:22:37 -04:00
..
Doxygen Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Git Merge topic 'import-KWSys-subtree' 2012-11-07 09:07:15 -05:00
GitSetup Merge branch 'setup' into developer-setup 2012-04-26 15:43:29 -04:00
KWIML Merge branch 'upstream-kwiml' into update-KWIML 2013-01-08 15:31:53 -05:00
KWStyle Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
Release Merge topic 'file-download-verify' 2012-09-12 07:51:39 -04:00
Sphinx Build Help documentation during CMake build using Sphinx 2013-10-16 09:22:37 -04:00
cmbzip2 curl, bzip2: Suppress warnings by setting initial value 2013-10-08 09:16:33 -04:00
cmcompress Clean up install rules of CMake itself (#14371) 2013-08-26 11:54:07 -04:00
cmcurl Merge topic 'haiku-updates' 2013-10-09 10:23:04 -04:00
cmexpat Clean up install rules of CMake itself (#14371) 2013-08-26 11:54:07 -04:00
cmlibarchive Clang: Add separate "AppleClang" compiler id 2013-10-07 20:12:46 -04:00
cmzlib Haiku: Remove outdated preprocessor checks 2013-10-08 09:55:55 -04:00
.NoDartCoverage ENH: No need to do coverage of utilities 2005-06-14 15:53:10 -04:00
.gitattributes Exclude from CMake source archives files specific to Git work tree 2012-03-02 14:36:56 -05:00
CMakeLists.txt Build Help documentation during CMake build using Sphinx 2013-10-16 09:22:37 -04:00
SetupForDevelopment.sh Add and configure developer setup helper scripts 2012-03-02 13:33:41 -05:00
cmThirdParty.h.in Include bzlib.h consistently across CMake build (#10950) 2012-01-13 14:05:36 -05:00
cm_bzlib.h Include bzlib.h consistently across CMake build (#10950) 2012-01-13 14:05:36 -05:00
cm_curl.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_expat.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_libarchive.h Include headers from chosen libarchive (#10923) 2010-08-05 17:06:10 -04:00
cm_xmlrpc.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cm_zlib.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00