mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
Refactoring: Third-parties public headers are under cm3p prefix
Fixes: #20666
This commit is contained in:
@@ -163,6 +163,18 @@ It is allowed to pass raw pointers between objects to enable objects sharing.
|
||||
A raw pointer **must** not be deleted. Only the object(s) owning the smart
|
||||
pointer are allowed to delete dynamically allocated memory.
|
||||
|
||||
Third Parties
|
||||
=============
|
||||
|
||||
To build CMake, some third parties are needed. Under ``Utilities``
|
||||
directory, are versions of these third parties which can be used as an
|
||||
alternate to the ones provided by the system.
|
||||
|
||||
To enable the selection of the third parties between the system and CMake ones,
|
||||
in CMake sources, third parties headers must be prefixed by ``cm3p/``
|
||||
(for example: ``<cm3p/json/reader.h>``). These wrappers are located under
|
||||
``Utilities/cm3p`` directory.
|
||||
|
||||
Source Tree Layout
|
||||
==================
|
||||
|
||||
@@ -208,6 +220,9 @@ The CMake source tree is organized as follows.
|
||||
* ``Utilities/std/cmext``:
|
||||
Extensions to the C++ STL.
|
||||
|
||||
* ``Utilities/cm3p``:
|
||||
Public headers for third parties needed to build CMake.
|
||||
|
||||
* ``Utilities/Sphinx/``:
|
||||
Sphinx configuration to build CMake user documentation.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user