summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-15 14:23:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-06-15 14:23:38 (GMT)
commit7c5299add429d4b4714a6070bc6f8186585e9a2f (patch)
treeb0a75d56aed1abc9e2b88200e2d5bffcca1d8f2c /Help
parentf3ffd18ab6ea78d6a13e83a4d890a619a5a2705c (diff)
parent1c5471527e08b3a1c883889024773678741b77d0 (diff)
downloadCMake-7c5299add429d4b4714a6070bc6f8186585e9a2f.zip
CMake-7c5299add429d4b4714a6070bc6f8186585e9a2f.tar.gz
CMake-7c5299add429d4b4714a6070bc6f8186585e9a2f.tar.bz2
Merge topic 'doc-test-layout'
1c547152 Tests: Document test directory layout in a README.rst 4e3483c0 Help/dev: Update source code guide to cover source tree layout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !967
Diffstat (limited to 'Help')
-rw-r--r--Help/dev/source.rst47
1 files changed, 47 insertions, 0 deletions
diff --git a/Help/dev/source.rst b/Help/dev/source.rst
index 7e44995..16a9252 100644
--- a/Help/dev/source.rst
+++ b/Help/dev/source.rst
@@ -58,3 +58,50 @@ need to be handled with care:
When assigning the result of ``.size()`` on a container for example,
the result should be assigned to ``size_t`` not to ``std::size_t``,
``unsigned int`` or similar types.
+
+Source Tree Layout
+==================
+
+The CMake source tree is organized as follows.
+
+* ``Auxiliary/``:
+ Shell and editor integration files.
+
+* ``Help/``:
+ Documentation.
+
+ * ``Help/dev/``:
+ Developer documentation.
+
+ * ``Help/release/dev/``:
+ Release note snippets for development since last release.
+
+* ``Licenses/``:
+ License files for third-party libraries in binary distributions.
+
+* ``Modules/``:
+ CMake language modules installed with CMake.
+
+* ``Packaging/``:
+ Files used for packaging CMake itself for distribution.
+
+* ``Source/``:
+ Source code of CMake itself.
+
+* ``Templates/``:
+ Files distributed with CMake as implementation details for generators,
+ packagers, etc.
+
+* ``Tests/``:
+ The test suite. See `Tests/README.rst`_.
+
+* ``Utilities/``:
+ Scripts, third-party source code.
+
+ * ``Utilities/Sphinx/``:
+ Sphinx configuration to build CMake user documentation.
+
+ * ``Utilities/Release/``:
+ Scripts used to package CMake itself for distribution on ``cmake.org``.
+
+.. _`Tests/README.rst`: ../../Tests/README.rst