summaryrefslogtreecommitdiff
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-04 22:56:31 +0200
committerStephen Kelly <steveire@gmail.com>2016-10-06 20:02:08 +0200
commit1ed5f6b39b80ab337551f1fa9601b3257ddd4be7 (patch)
tree1af60419ab2297157ab5b06ae85de09b9fcb74c5 /Source/cmLocalUnixMakefileGenerator3.h
parent8377d9e00b7a00f1687b947aaf3c9e10b6779df4 (diff)
downloadcmake-1ed5f6b39b80ab337551f1fa9601b3257ddd4be7.tar.gz
Makefiles: Introduce local RelativePath method
This makes it easier to remove directory-specific state from cmOutputConverter where it doesn't belong. Of course, this just relocates the problem to the makefiles generator for now, but that's better than affecting the core.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index fc5c8e7dfb..c3ecda44c5 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -184,6 +184,9 @@ public:
// Eclipse generator.
void GetIndividualFileTargets(std::vector<std::string>& targets);
+ std::string MaybeConvertToRelativePath(std::string const& base,
+ std::string const& path);
+
protected:
void WriteLocalMakefile();