summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-23 12:35:22 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-24 11:29:48 (GMT)
commit73245e591109c38712d5aa91bee655de70e8456a (patch)
tree187450f8ad38945ac78f2b3b24a9ce61f0ffcb4e /Source
parent4fdad392b6ad59827866b8115bd554397e81ddb5 (diff)
downloadCMake-73245e591109c38712d5aa91bee655de70e8456a.zip
CMake-73245e591109c38712d5aa91bee655de70e8456a.tar.gz
CMake-73245e591109c38712d5aa91bee655de70e8456a.tar.bz2
GHS: Remove unnecessary Configure override.
This only sets a member variable which is never read. Presumably this was copied from the makefile generator.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGhsMultiGenerator.cxx18
-rw-r--r--Source/cmLocalGhsMultiGenerator.h10
2 files changed, 0 insertions, 28 deletions
diff --git a/Source/cmLocalGhsMultiGenerator.cxx b/Source/cmLocalGhsMultiGenerator.cxx
index ddef3f5..a537265 100644
--- a/Source/cmLocalGhsMultiGenerator.cxx
+++ b/Source/cmLocalGhsMultiGenerator.cxx
@@ -37,21 +37,3 @@ void cmLocalGhsMultiGenerator::Generate()
}
}
}
-
-// Implemented in:
-// cmLocalGenerator.
-// Used in:
-// Source/cmMakefile.cxx
-// Source/cmGlobalGenerator.cxx
-void cmLocalGhsMultiGenerator::Configure()
-{
- // Compute the path to use when referencing the current output
- // directory from the top output directory.
- this->HomeRelativeOutputPath =
- this->Convert(this->Makefile->GetCurrentBinaryDirectory(), HOME_OUTPUT);
- if (this->HomeRelativeOutputPath == ".")
- {
- this->HomeRelativeOutputPath = "";
- }
- this->cmLocalGenerator::Configure();
-}
diff --git a/Source/cmLocalGhsMultiGenerator.h b/Source/cmLocalGhsMultiGenerator.h
index ec25cba..0d11315 100644
--- a/Source/cmLocalGhsMultiGenerator.h
+++ b/Source/cmLocalGhsMultiGenerator.h
@@ -29,20 +29,11 @@ public:
virtual ~cmLocalGhsMultiGenerator();
- /// @returns the relative path between the HomeOutputDirectory and this
- /// local generators StartOutputDirectory.
- std::string GetHomeRelativeOutputPath() const
- {
- return this->HomeRelativeOutputPath;
- }
-
/**
* Generate the makefile for this directory.
*/
virtual void Generate();
- /// Overloaded methods. @see cmLocalGenerator::Configure()
- virtual void Configure();
const char *GetBuildFileName() { return this->BuildFileName.c_str(); }
protected:
@@ -50,7 +41,6 @@ protected:
private:
std::string BuildFileName;
- std::string HomeRelativeOutputPath;
};
#endif