summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-16 18:17:30 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-16 18:17:30 (GMT)
commit7ed018ec09cd68bd1417b9bf0d29ebb963e2c213 (patch)
treeca8ecee93f41e2dfbb9528574207aa68a8d6a0ae /Source/cmGlobalGenerator.h
parent26f82b064ce935e429dfcb3fd74bd277640e0b7e (diff)
downloadCMake-7ed018ec09cd68bd1417b9bf0d29ebb963e2c213.zip
CMake-7ed018ec09cd68bd1417b9bf0d29ebb963e2c213.tar.gz
CMake-7ed018ec09cd68bd1417b9bf0d29ebb963e2c213.tar.bz2
BUG: Changing to a new test for whether to do relative path conversion. Now only paths inside the source or binary trees are converted.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index c72ab67..8b35116 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -171,10 +171,13 @@ private:
std::map<cmStdString, cmStdString> m_ExtensionToLanguage;
std::map<cmStdString, cmStdString> m_LanguageToLinkerPreference;
- // The prefix required of a path to be converted to a relative path.
- // No sequence of ../.. will ever go past this path. This is the
- // longest common path between the top level source and build trees.
- std::string m_RelativePathTop;
+ // 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 m_RelativePathTopSource;
+ std::string m_RelativePathTopBinary;
};
#endif