diff options
author | Brad King <brad.king@kitware.com> | 2010-11-19 18:36:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-19 22:19:21 (GMT) |
commit | e01cce28694201342adc97825982ed66fc52af65 (patch) | |
tree | ef4573c4112650f78df2ebb66665185118a8bcd6 /Source/cmComputeTargetDepends.h | |
parent | bc7395c096be40f8a0fecbab4aa7539c05898ef2 (diff) | |
download | CMake-e01cce28694201342adc97825982ed66fc52af65.zip CMake-e01cce28694201342adc97825982ed66fc52af65.tar.gz CMake-e01cce28694201342adc97825982ed66fc52af65.tar.bz2 |
Allow add_dependencies() on imported targets (#10395)
Imported targets do not themselves build, but we can follow dependencies
through them to find real targets. This allows imported targets to
depend on custom targets that provide the underlying files at build
time.
Diffstat (limited to 'Source/cmComputeTargetDepends.h')
-rw-r--r-- | Source/cmComputeTargetDepends.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeTargetDepends.h b/Source/cmComputeTargetDepends.h index 36e533f..67bce72 100644 --- a/Source/cmComputeTargetDepends.h +++ b/Source/cmComputeTargetDepends.h @@ -46,6 +46,7 @@ private: void CollectTargetDepends(int depender_index); void AddTargetDepend(int depender_index, const char* dependee_name, bool linking); + void AddTargetDepend(int depender_index, cmTarget* dependee, bool linking); bool ComputeFinalDepends(cmComputeComponentGraph const& ccg); cmGlobalGenerator* GlobalGenerator; |