summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-07 20:15:46 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-07 20:15:46 (GMT)
commitfc19882e8f85516c4f774083b6d9f57f843fb941 (patch)
tree0e673dc5a8b7dfe6eedeb01bfe8f2ec123e3d7bb /Source/cmGlobalGenerator.h
parent3bd9d67488b98cb1141b7aaadbffb6550935f2aa (diff)
downloadCMake-fc19882e8f85516c4f774083b6d9f57f843fb941.zip
CMake-fc19882e8f85516c4f774083b6d9f57f843fb941.tar.gz
CMake-fc19882e8f85516c4f774083b6d9f57f843fb941.tar.bz2
ENH: Moved ConvertToRelativePath from cmGlobalGenerator to cmLocalGenerator. This is in preparation for setting up each local generator to have its own RelativePathTopSource and RelativePathTopBinary based on its ancestor directories.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index da98f52..7072f26 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -144,16 +144,6 @@ public:
///! What is the configurations directory variable called?
virtual const char* GetCMakeCFGInitDirectory() { return "."; }
- /**
- * 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);
-
/** Get whether the generator should use a script for link commands. */
bool GetUseLinkScript() { return this->UseLinkScript; }
@@ -209,9 +199,6 @@ protected:
void FillProjectMap();
bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen);
- void ConfigureRelativePaths();
- bool RelativePathsConfigured;
-
void CreateDefaultGlobalTargets(cmTargets* targets);
cmTarget CreateGlobalTarget(const char* name, const char* message,
const cmCustomCommandLines* commandLines,
@@ -246,14 +233,6 @@ private:
std::map<cmStdString, cmStdString> ExtensionToLanguage;
std::map<cmStdString, cmStdString> LanguageToLinkerPreference;
- // The paths to the tops of the source and binary trees used for
- // relative path computation. A path must be either in the source
- // tree or the build tree to be converted to a relative path. The
- // ConfigureRelativePaths method may set these to be empty when
- // using relative paths is unsafe.
- std::string RelativePathTopSource;
- std::string RelativePathTopBinary;
-
// this is used to improve performance
std::map<cmStdString,cmTarget *> TotalTargets;
};