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
+6 -3
View File
@@ -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
+5 -2
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. 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.