summaryrefslogtreecommitdiffstats
path: root/Modules/FetchContent.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIRAlex Turbov2019-12-101-4/+1
| | | | | | Some modules define an intermediate global scope visible variables to access "resource" files from functions. Now these variables could be eliminated.
* FetchContent: Add new command FetchContent_MakeAvailable()Craig Scott2019-01-261-68/+206
| | | Relates: #18754
* FetchContent: Trivial doc correctionsCraig Scott2019-01-201-6/+6
|
* FetchContent: Give access to the terminal for download and updateCraig Scott2019-01-141-0/+7
| | | | | | | | | | | | | | | A main scenario where this is needed is when a git operation needs the password to a private key and asks for it on the console. Without this change, such operations can appear to hang indefinitely with no prompt if QUIET is in effect (which it is by default). Another scenario this addresses is when progress of a download or update should be shown. Without this change, all such progress is buffered with some generators and will only be shown at the end, which defeats the purpose of logging any progress to begin with. Relates: #18238
* FetchContent: Support use of the module before "project()" commandJean-Christophe Fillion-Robin2017-11-071-1/+3
| | | | | Co-authored-by: Craig Scott <craig.scott@crascit.com> Co-authored-by: Brad King <brad.king@kitware.com>
* FetchContent: New module for populating content at configure timeCraig Scott2017-10-161-0/+914