CMake/Tests/ExternalProject
Brad King c0f1af926f ExternalProject: Allow DEPENDS on normal targets (#13849)
The ExternalProject_Add DEPENDS option adds two types of dependencies.
It adds a target-level build order dependency between the external
project target and the named targets.  It also adds a file-level
dependency on the "done" stamp file of the named external project
targets.  Targets not created by ExternalProject_Add have no such stamp
file and no _EP_STAMP_DIR property.  Prior to commit d14c0243 (Refactor
repeated code into function, 2012-04-26) we unconditionally accepted an
empty stamp dir and generated a dependency on a non-existent file.
After that commit we generate an error that no stamp dir is set.

Skip the file-level dependency when the named dependency is not an
external project target in order to allow this use case.  Teach the
ExternalProject test to cover the case.
2013-01-16 10:35:58 -05:00
..
Example Tests: Nudge MFC test to pass on VS 6 dashboards (#11213) 2011-11-09 13:35:28 -05:00
CMakeLists.txt ExternalProject: Allow DEPENDS on normal targets (#13849) 2013-01-16 10:35:58 -05:00
cvsrepo.tgz
gitrepo.tgz Add git support to ExternalProject. 2010-06-02 16:28:04 -04:00
hgrepo.tgz ExternalProject: Add Mercurial (hg) repository support 2012-08-16 09:02:34 -04:00
Step1.tar
Step1.tar.bz2 Add .zip and .tar.bz2 extraction to ExternalProject. 2010-05-31 14:30:22 -04:00
Step1.tgz
Step1.zip Add .zip and .tar.bz2 extraction to ExternalProject. 2010-05-31 14:30:22 -04:00
Step1NoDir.tar
Step1NoDir.tar.bz2 Add .zip and .tar.bz2 extraction to ExternalProject. 2010-05-31 14:30:22 -04:00
Step1NoDir.tgz
Step1NoDir.zip Add .zip and .tar.bz2 extraction to ExternalProject. 2010-05-31 14:30:22 -04:00
Step1Patch.cmake
svnrepo.tgz
TryCheckout.cmake Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00