diff options
author | Brad King <brad.king@kitware.com> | 2007-03-07 21:32:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-07 21:32:29 (GMT) |
commit | 073076e0f7785428f9a211dec76e4eaa304ad3b5 (patch) | |
tree | e55ea34fa59ed2648d64a13f14104684c5db7c9a /Source/cmLocalGenerator.h | |
parent | f3cc908e42c912bb7ed0663763059a3820386776 (diff) | |
download | CMake-073076e0f7785428f9a211dec76e4eaa304ad3b5.zip CMake-073076e0f7785428f9a211dec76e4eaa304ad3b5.tar.gz CMake-073076e0f7785428f9a211dec76e4eaa304ad3b5.tar.bz2 |
COMP: Fix ConvertToRelativePath change for Xcode generator.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 6b4d7dc..53a53d4 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -219,6 +219,16 @@ public: // return the source name for the object file virtual std::string GetSourceObjectName(cmSourceFile& ); + /** + * Convert the given remote path to a relative path with respect to + * the given local path. The local path must be given in component + * form (see SystemTools::SplitPath) without a trailing slash. The + * remote path must use forward slashes and not already be escaped + * or quoted. + */ + std::string ConvertToRelativePath(const std::vector<std::string>& local, + const char* remote); + protected: /** Construct a comment for a custom command. */ @@ -268,16 +278,6 @@ protected: void ConfigureRelativePaths(); - /** - * Convert the given remote path to a relative path with respect to - * the given local path. The local path must be given in component - * form (see SystemTools::SplitPath) without a trailing slash. The - * remote path must use forward slashes and not already be escaped - * or quoted. - */ - std::string ConvertToRelativePath(const std::vector<std::string>& local, - const char* remote); - cmMakefile *Makefile; cmGlobalGenerator *GlobalGenerator; // members used for relative path function ConvertToMakefilePath |