summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-01-14 01:51:45 (GMT)
committerBrad King <brad.king@kitware.com>2006-01-14 01:51:45 (GMT)
commit8340c0d18611d9ff6a8237ffe3d3cd6655a1c518 (patch)
tree412c5eb73b7b014c665b96511f31047a7616d13c /Source/cmLocalGenerator.h
parent18477b194ca49a58c253af76bf11504dd51edaef (diff)
downloadCMake-8340c0d18611d9ff6a8237ffe3d3cd6655a1c518.zip
CMake-8340c0d18611d9ff6a8237ffe3d3cd6655a1c518.tar.gz
CMake-8340c0d18611d9ff6a8237ffe3d3cd6655a1c518.tar.bz2
ENH: Further centralized custom command dependency computation. Custom command dependencies in the source tree may now also be specified relative to the source directory.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index a30217a..f60ad22 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -137,12 +137,12 @@ 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 CMake target it will be transformed to the real output
- location of that target for the given configuration. Otherwise
- the original name will be returned. If the local argument is
- given it is set to indicate whethr the name is of a utility
- target available in the same makefile. */
- std::string GetRealDependency(const char* name, const char* config,
- bool* local=0);
+ location of that target for the given configuration. If the
+ given name is the full path to a file it will be returned.
+ 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);
///! for existing files convert to output path and short path if spaces
std::string ConvertToOutputForExisting(const char* p);