• Brad King's avatar
    ExternalProject: Allow DEPENDS on normal targets (#13849) · c0f1af92
    Brad King authored
    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.
    c0f1af92
Name
Last commit
Last update
..
Example Loading commit data...
CMakeLists.txt Loading commit data...
Step1.tar Loading commit data...
Step1.tar.bz2 Loading commit data...
Step1.tgz Loading commit data...
Step1.zip Loading commit data...
Step1NoDir.tar Loading commit data...
Step1NoDir.tar.bz2 Loading commit data...
Step1NoDir.tgz Loading commit data...
Step1NoDir.zip Loading commit data...
Step1Patch.cmake Loading commit data...
TryCheckout.cmake Loading commit data...
cvsrepo.tgz Loading commit data...
gitrepo.tgz Loading commit data...
hgrepo.tgz Loading commit data...
svnrepo.tgz Loading commit data...