mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
ExternalProject: Improve documentation
- Added clearer structure by grouping the options into logical sections. - Expanded the details for many of the options. - Added Examples section to show how to use the various commands. - Specifically highlighted that the contents of SOURCE_DIR may be lost if a download method is also provided. - Updated argument-matching regex to be more robust and account for the varying leading spaces before keywords in the docs. - Updated tests to account for slightly changed error messages.
This commit is contained in:
+792
-345
File diff suppressed because it is too large
Load Diff
@@ -6,12 +6,12 @@
|
|||||||
is not an existing non-empty directory. Please specify one of:
|
is not an existing non-empty directory. Please specify one of:
|
||||||
|
|
||||||
\* SOURCE_DIR with an existing non-empty directory
|
\* SOURCE_DIR with an existing non-empty directory
|
||||||
|
\* DOWNLOAD_COMMAND
|
||||||
\* URL
|
\* URL
|
||||||
\* GIT_REPOSITORY
|
\* GIT_REPOSITORY
|
||||||
|
\* SVN_REPOSITORY
|
||||||
\* HG_REPOSITORY
|
\* HG_REPOSITORY
|
||||||
\* CVS_REPOSITORY and CVS_MODULE
|
\* CVS_REPOSITORY and CVS_MODULE
|
||||||
\* SVN_REVISION
|
|
||||||
\* DOWNLOAD_COMMAND
|
|
||||||
Call Stack \(most recent call first\):
|
Call Stack \(most recent call first\):
|
||||||
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
||||||
NoOptions.cmake:[0-9]+ \(ExternalProject_Add\)
|
NoOptions.cmake:[0-9]+ \(ExternalProject_Add\)
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
is not an existing non-empty directory. Please specify one of:
|
is not an existing non-empty directory. Please specify one of:
|
||||||
|
|
||||||
\* SOURCE_DIR with an existing non-empty directory
|
\* SOURCE_DIR with an existing non-empty directory
|
||||||
|
\* DOWNLOAD_COMMAND
|
||||||
\* URL
|
\* URL
|
||||||
\* GIT_REPOSITORY
|
\* GIT_REPOSITORY
|
||||||
|
\* SVN_REPOSITORY
|
||||||
\* HG_REPOSITORY
|
\* HG_REPOSITORY
|
||||||
\* CVS_REPOSITORY and CVS_MODULE
|
\* CVS_REPOSITORY and CVS_MODULE
|
||||||
\* SVN_REVISION
|
|
||||||
\* DOWNLOAD_COMMAND
|
|
||||||
Call Stack \(most recent call first\):
|
Call Stack \(most recent call first\):
|
||||||
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
||||||
SourceEmpty.cmake:[0-9]+ \(ExternalProject_Add\)
|
SourceEmpty.cmake:[0-9]+ \(ExternalProject_Add\)
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
is not an existing non-empty directory. Please specify one of:
|
is not an existing non-empty directory. Please specify one of:
|
||||||
|
|
||||||
\* SOURCE_DIR with an existing non-empty directory
|
\* SOURCE_DIR with an existing non-empty directory
|
||||||
|
\* DOWNLOAD_COMMAND
|
||||||
\* URL
|
\* URL
|
||||||
\* GIT_REPOSITORY
|
\* GIT_REPOSITORY
|
||||||
|
\* SVN_REPOSITORY
|
||||||
\* HG_REPOSITORY
|
\* HG_REPOSITORY
|
||||||
\* CVS_REPOSITORY and CVS_MODULE
|
\* CVS_REPOSITORY and CVS_MODULE
|
||||||
\* SVN_REVISION
|
|
||||||
\* DOWNLOAD_COMMAND
|
|
||||||
Call Stack \(most recent call first\):
|
Call Stack \(most recent call first\):
|
||||||
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
.*/Modules/ExternalProject.cmake:[0-9]+ \(_ep_add_download_command\)
|
||||||
SourceMissing.cmake:[0-9]+ \(ExternalProject_Add\)
|
SourceMissing.cmake:[0-9]+ \(ExternalProject_Add\)
|
||||||
|
|||||||
Reference in New Issue
Block a user