mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
Help: FetchContent, ExternalProject: Command sections -> subsections
This commit is contained in:
@@ -9,8 +9,11 @@ ExternalProject
|
|||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
Commands
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
External Project Definition
|
External Project Definition
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
"""""""""""""""""""""""""""
|
||||||
|
|
||||||
.. command:: ExternalProject_Add
|
.. command:: ExternalProject_Add
|
||||||
|
|
||||||
@@ -665,7 +668,7 @@ External Project Definition
|
|||||||
automatic substitutions that are supported for some options.
|
automatic substitutions that are supported for some options.
|
||||||
|
|
||||||
Obtaining Project Properties
|
Obtaining Project Properties
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
""""""""""""""""""""""""""""
|
||||||
|
|
||||||
.. command:: ExternalProject_Get_Property
|
.. command:: ExternalProject_Get_Property
|
||||||
|
|
||||||
@@ -686,7 +689,7 @@ Obtaining Project Properties
|
|||||||
message("Source dir of myExtProj = ${SOURCE_DIR}")
|
message("Source dir of myExtProj = ${SOURCE_DIR}")
|
||||||
|
|
||||||
Explicit Step Management
|
Explicit Step Management
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
""""""""""""""""""""""""
|
||||||
|
|
||||||
The ``ExternalProject_Add()`` function on its own is often sufficient for
|
The ``ExternalProject_Add()`` function on its own is often sufficient for
|
||||||
incorporating an external project into the main build. Certain scenarios
|
incorporating an external project into the main build. Certain scenarios
|
||||||
|
|||||||
@@ -76,8 +76,11 @@ sometimes useful as part of implementing some higher level feature or to
|
|||||||
populate some content in CMake's script mode.
|
populate some content in CMake's script mode.
|
||||||
|
|
||||||
|
|
||||||
|
Commands
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
Declaring Content Details
|
Declaring Content Details
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
"""""""""""""""""""""""""
|
||||||
|
|
||||||
.. command:: FetchContent_Declare
|
.. command:: FetchContent_Declare
|
||||||
|
|
||||||
@@ -130,7 +133,7 @@ Declaring Content Details
|
|||||||
)
|
)
|
||||||
|
|
||||||
Populating The Content
|
Populating The Content
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
""""""""""""""""""""""
|
||||||
|
|
||||||
For most common scenarios, population means making content available to the
|
For most common scenarios, population means making content available to the
|
||||||
main build according to previously declared details for that dependency.
|
main build according to previously declared details for that dependency.
|
||||||
|
|||||||
Reference in New Issue
Block a user