Help: FetchContent, ExternalProject: Command sections -> subsections

This commit is contained in:
Joachim Wuttke (o)
2020-02-17 11:53:28 +01:00
parent 6d00a2de7b
commit 05e56b1897
2 changed files with 11 additions and 5 deletions

View File

@@ -9,8 +9,11 @@ ExternalProject
.. contents::
Commands
^^^^^^^^
External Project Definition
^^^^^^^^^^^^^^^^^^^^^^^^^^^
"""""""""""""""""""""""""""
.. command:: ExternalProject_Add
@@ -665,7 +668,7 @@ External Project Definition
automatic substitutions that are supported for some options.
Obtaining Project Properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
""""""""""""""""""""""""""""
.. command:: ExternalProject_Get_Property
@@ -686,7 +689,7 @@ Obtaining Project Properties
message("Source dir of myExtProj = ${SOURCE_DIR}")
Explicit Step Management
^^^^^^^^^^^^^^^^^^^^^^^^
""""""""""""""""""""""""
The ``ExternalProject_Add()`` function on its own is often sufficient for
incorporating an external project into the main build. Certain scenarios

View File

@@ -76,8 +76,11 @@ sometimes useful as part of implementing some higher level feature or to
populate some content in CMake's script mode.
Commands
^^^^^^^^
Declaring Content Details
^^^^^^^^^^^^^^^^^^^^^^^^^
"""""""""""""""""""""""""
.. command:: FetchContent_Declare
@@ -130,7 +133,7 @@ Declaring Content Details
)
Populating The Content
^^^^^^^^^^^^^^^^^^^^^^
""""""""""""""""""""""
For most common scenarios, population means making content available to the
main build according to previously declared details for that dependency.