COMP: Fix ConvertToRelativePath change for Xcode generator.

This commit is contained in:
Brad King
2007-03-07 16:32:29 -05:00
parent f3cc908e42
commit 073076e0f7
2 changed files with 14 additions and 12 deletions

View File

@@ -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