diff options
author | Brad King <brad.king@kitware.com> | 2010-12-08 22:05:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-08 22:14:17 (GMT) |
commit | ced1d5eccd4ae08a6431a5c163be3dd52ca9d59a (patch) | |
tree | 5a27f713d1b55ba4b4426730ff3f3c751afbc5a9 /Source/cmLocalGenerator.h | |
parent | e30a775f68ddae48ca6987fc2c21c07844a26804 (diff) | |
download | CMake-ced1d5eccd4ae08a6431a5c163be3dd52ca9d59a.zip CMake-ced1d5eccd4ae08a6431a5c163be3dd52ca9d59a.tar.gz CMake-ced1d5eccd4ae08a6431a5c163be3dd52ca9d59a.tar.bz2 |
Skip file-level dependencies on custom targets (#11332)
A custom command may name a target created by add_custom_target in its
DEPENDS field. Treat this case as a target-level dependency only since
a custom target provides no standard file on which to add a file-level
dependency.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 486c385..870ce36 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -158,6 +158,7 @@ public: /** Translate a dependency as given in CMake code to the name to appear in a generated build file. If the given name is that of + a utility target, returns false. If the given name is that of a CMake target it will be transformed to the real output location of that target for the given configuration. If the given name is the full path to a file it will be returned. |