diff options
author | Brad King <brad.king@kitware.com> | 2010-12-08 21:51:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-08 22:14:14 (GMT) |
commit | e30a775f68ddae48ca6987fc2c21c07844a26804 (patch) | |
tree | 7f28c404adf822fd3f3d2dda3a0b73796ae93d10 /Source/cmLocalGenerator.h | |
parent | afc8906468bb09a934442bdbdcb86d9f40926e75 (diff) | |
download | CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.zip CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.tar.gz CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.tar.bz2 |
Improve signature of cmLocalGenerator::GetRealDependency
Allow file-level custom command dependencies to be skipped.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 43bf1e7..486c385 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -164,8 +164,9 @@ public: Otherwise the name is treated as a relative path with respect to the source directory of this generator. This should only be used for dependencies of custom commands. */ - std::string GetRealDependency(const char* name, const char* config); - + bool GetRealDependency(const char* name, const char* config, + std::string& dep); + /** Translate a command as given in CMake code to the location of the executable if the command is the name of a CMake executable target. If that's not the case, just return the original name. */ |