diff options
author | David Cole <david.cole@kitware.com> | 2008-12-19 15:35:16 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-12-19 15:35:16 (GMT) |
commit | 468c9e250b3b3f710cb6e15bcbc538e3a54fcb63 (patch) | |
tree | 92521e7294814a96fde0e9ca0ad4c733bf48ce43 /Tests | |
parent | 690f83b81b3dfcf3a80f938df0b7a3a0f0ad1992 (diff) | |
download | CMake-468c9e250b3b3f710cb6e15bcbc538e3a54fcb63.zip CMake-468c9e250b3b3f710cb6e15bcbc538e3a54fcb63.tar.gz CMake-468c9e250b3b3f710cb6e15bcbc538e3a54fcb63.tar.bz2 |
ENH: Add the update step in between download and build. Add UPDATE_ARGS and UPDATE_COMMAND handling. Output a -complete sentinel in synch with the -install sentinel, but do not list it as an OUTPUT of the custom command. That breaks the chaining of add_custom_commands between custom targets, but allows for a file-level dependency expression that will cause proper incremental rebuilds. When earlier targets rebuild, subsequent dependent targets will also rebuild. CVS and SVN update commands are always out-of-date so that they always run to get the latest source. To suppress that behavior on a per-external project basis use an explicit empty string for UPDATE_COMMAND. The source will still be checked out from the repository prior to the update step by the download step.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions