mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-03 13:18:11 +00:00
Help: FetchContent, ExternalProject: Command sections -> subsections
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user