summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-02-21 20:55:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-02-21 20:55:20 (GMT)
commit3c748ec5ad0898298b6f368b23a13b2eba0eb54e (patch)
tree8b96f3193a8da8e118700c92212f99634a661fd9 /Source/cmUnixMakefileGenerator.h
parent49fa9d8b61fcdf4f62c9a9e5f59bd24ef7f3ca7f (diff)
downloadCMake-3c748ec5ad0898298b6f368b23a13b2eba0eb54e.zip
CMake-3c748ec5ad0898298b6f368b23a13b2eba0eb54e.tar.gz
CMake-3c748ec5ad0898298b6f368b23a13b2eba0eb54e.tar.bz2
ENH: add a virtual CreateMakeVariable to shorten makefile variables for borland make
Diffstat (limited to 'Source/cmUnixMakefileGenerator.h')
-rw-r--r--Source/cmUnixMakefileGenerator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.h b/Source/cmUnixMakefileGenerator.h
index 14e6fc7..5a73de8 100644
--- a/Source/cmUnixMakefileGenerator.h
+++ b/Source/cmUnixMakefileGenerator.h
@@ -155,7 +155,12 @@ protected:
void SetLibraryPrefix(const char* e) { m_LibraryPrefix = e;}
virtual std::string ConvertToNativePath(const char* s) { return s; }
std::string CreateTargetRules(const cmTarget &target,
- const char* targetName);
+ const char* targetName);
+ virtual std::string CreateMakeVariable(const char* s, const char* s2)
+ {
+ return std::string(s) + std::string(s2);
+ }
+
protected:
std::string m_ExecutableOutputPath;
std::string m_LibraryOutputPath;