David Cole
490009c016
Fix issue #9764 - add TIMEOUT arg to ExternalProject_Add so that callers have explicit control over the amount of time they are willing to wait for a download step. Default to no timeout, which means just run download for however long it takes.
2009-12-11 15:04:55 -05:00
David Cole
f95bc6b5ad
Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate.
2009-09-30 16:22:36 -04:00
Brad King
3a666595c9
Convert CMake non-find modules to BSD License
...
This adds copyright/license notification blocks CMake's non-find
modules. Most of the modules had no notices at all. Some had notices
referring to the BSD license already. This commit normalizes existing
notices and adds missing notices.
2009-09-28 11:46:51 -04:00
David Cole
cba1dd59fd
Better error message tells user possible ways to resolve the error.
2009-09-18 12:56:49 -04:00
David Cole
6149e8f7e8
Missed another CMAKE_CFG_INTDIR reference in the previously previous commit.
2009-09-08 17:28:49 -04:00
David Cole
883338584f
Missed a CMAKE_CFG_INTDIR reference in the previous commit.
2009-09-08 16:11:19 -04:00
David Cole
002ae925c3
Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator.
2009-09-08 15:37:15 -04:00
David Cole
5624be360e
Add test step to ExternalProject builds. Rename SVN_TAG to SVN_REVISION since it is a more accurate name.
2009-09-03 12:11:14 -04:00
David Cole
1171bcfc69
Add missing argument to _ep_write_downloadfile_script.
2009-08-26 06:52:43 -04:00
David Cole
0470a0c1ad
Remove DownloadFile.cmake and UntarFile.cmake from the Modules directory. Put functionality directly into ExternalProject.cmake itself so that these modules do not end up in the upcoming release of CMake.
2009-08-19 12:19:12 -04:00
Brad King
a03bb5a28f
ENH: Check tarball filename in ep_add
...
This teaches the ExternalProject module to check the download URL file
name. If it is not a tarball (.tar, .tgz, .tar.gz) it is an error
because UntarFile does not yet understand other archive formats.
2009-07-13 10:46:32 -04:00
David Cole
10f4e911f0
BUG: Allow arbitrary text in values for some keywords. (And avoid warning that the arbitrary text is an unknown keyword.)
2009-07-02 17:38:30 -04:00
David Cole
04fb177de1
BUG: cmd_set logic was missing from update and patch steps. Fix it so that UPDATE_COMMAND "" means "no update step even though this is a CVS/SVN repository..."
2009-07-02 13:17:55 -04:00
Brad King
031379abe6
ENH: New ExternalProject.cmake module interface
...
This creates new module ExternalProject.cmake to replace the prototype
AddExternalProject.cmake module. The interface is more refined, more
flexible, and better documented than the prototype.
This also converts the ExternalProject test to use the new module. The
old module will be removed (it was never in a CMake release) after
projects using it have been converted to the new module.
2009-06-24 15:03:26 -04:00