summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-09-17 21:32:30 (GMT)
committerCraig Scott <craig.scott@crascit.com>2017-10-16 21:07:09 (GMT)
commit60e74d2f19d33e5b8afc7f8834f36c5cb1d2c810 (patch)
tree0882c6c63749f2563b9b5ceed688fda9cdb77861 /Help
parent8e3b207ebb2243de44c910861c42e4dec4beaf60 (diff)
downloadCMake-60e74d2f19d33e5b8afc7f8834f36c5cb1d2c810.zip
CMake-60e74d2f19d33e5b8afc7f8834f36c5cb1d2c810.tar.gz
CMake-60e74d2f19d33e5b8afc7f8834f36c5cb1d2c810.tar.bz2
FetchContent: New module for populating content at configure time
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-modules.7.rst1
-rw-r--r--Help/module/FetchContent.rst1
-rw-r--r--Help/release/dev/FetchContent.rst11
3 files changed, 13 insertions, 0 deletions
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
index 8f4b252..9fd92ec 100644
--- a/Help/manual/cmake-modules.7.rst
+++ b/Help/manual/cmake-modules.7.rst
@@ -80,6 +80,7 @@ All Modules
/module/ExternalData
/module/ExternalProject
/module/FeatureSummary
+ /module/FetchContent
/module/FindALSA
/module/FindArmadillo
/module/FindASPELL
diff --git a/Help/module/FetchContent.rst b/Help/module/FetchContent.rst
new file mode 100644
index 0000000..c130a6d
--- /dev/null
+++ b/Help/module/FetchContent.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/FetchContent.cmake
diff --git a/Help/release/dev/FetchContent.rst b/Help/release/dev/FetchContent.rst
new file mode 100644
index 0000000..3b12977
--- /dev/null
+++ b/Help/release/dev/FetchContent.rst
@@ -0,0 +1,11 @@
+FetchContent
+------------
+
+* A new :module:`FetchContent` module was added which supports populating
+ content at configure time using any of the download/update methods
+ supported by :command:`ExternalProject_Add`. This allows the content
+ to be used immediately during the configure stage, such as with
+ :command:`add_subdirectory`, etc. Hierarchical project structures are
+ well supported, allowing parent projects to override the content details
+ of child projects and ensuring content is not populated multiple times
+ throughout the whole project tree.