summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-01-23 14:54:50 (GMT)
committerBrad King <brad.king@kitware.com>2004-01-23 14:54:50 (GMT)
commited1c2573aa39b2773002f7bc09b3908a33771053 (patch)
treef416bc2fd02ddc11fe115deffd20b9af8d785252 /Source/cmLocalUnixMakefileGenerator.h
parent15fb761319334405c1399cd8c17c51daa83ccade (diff)
downloadCMake-ed1c2573aa39b2773002f7bc09b3908a33771053.zip
CMake-ed1c2573aa39b2773002f7bc09b3908a33771053.tar.gz
CMake-ed1c2573aa39b2773002f7bc09b3908a33771053.tar.bz2
BUG: Fix to build rule generation with relative paths.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.h b/Source/cmLocalUnixMakefileGenerator.h
index 3ef82e8..4cdb8b0 100644
--- a/Source/cmLocalUnixMakefileGenerator.h
+++ b/Source/cmLocalUnixMakefileGenerator.h
@@ -197,6 +197,7 @@ protected:
const char* path,
const char* library,
const char* fullpath);
+
///! return true if the two paths are the same
virtual bool SamePath(const char* path1, const char* path2);
virtual std::string GetOutputExtension(const char* sourceExtension);
@@ -213,7 +214,11 @@ protected:
///! for existing files convert to output path and short path if spaces
std::string ConvertToOutputForExisting(const char*);
-
+
+ /** Convert path to a format vaild for the left or right side of a
+ target: dependencies line in a makefile. */
+ virtual std::string ConvertToMakeTarget(const char*);
+
/** Get the full name of the target's file, without path. */
std::string GetFullTargetName(const char* n, const cmTarget& t);