summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-12-22 20:16:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-12-22 20:16:46 (GMT)
commitd79e3ae698413b0204c4819db1fbe25486c96fbf (patch)
treea05dc78d6ff1b7b055d3d5c9b64b92984c69a853 /Source/cmLocalGenerator.h
parenta5fa6e2fe28ac1457795490ec4d002bd8d5231ef (diff)
downloadCMake-d79e3ae698413b0204c4819db1fbe25486c96fbf.zip
CMake-d79e3ae698413b0204c4819db1fbe25486c96fbf.tar.gz
CMake-d79e3ae698413b0204c4819db1fbe25486c96fbf.tar.bz2
ENH: move relative path to parent generator class
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 0268787..c7a370d 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -65,11 +65,19 @@ public:
///! Set the Global Generator, done on creation by the GlobalGenerator
void SetGlobalGenerator(cmGlobalGenerator *gg);
-
+ std::string ConvertToRelativeOutputPath(const char* p);
protected:
bool m_FromTheTop;
cmMakefile *m_Makefile;
cmGlobalGenerator *m_GlobalGenerator;
+ // members used for relative path function ConvertToMakefilePath
+ std::string m_RelativePathToSourceDir;
+ std::string m_RelativePathToBinaryDir;
+ std::string m_CurrentOutputDirectory;
+ std::string m_HomeOutputDirectory;
+ std::string m_HomeDirectory;
+ std::string m_HomeOutputDirectoryNoSlash;
+
};
#endif