summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-08 21:51:16 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-08 22:14:14 (GMT)
commite30a775f68ddae48ca6987fc2c21c07844a26804 (patch)
tree7f28c404adf822fd3f3d2dda3a0b73796ae93d10 /Source/cmLocalGenerator.h
parentafc8906468bb09a934442bdbdcb86d9f40926e75 (diff)
downloadCMake-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.h5
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. */