summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-08-01 17:13:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-08-01 17:13:43 (GMT)
commit63ca58ceafa459ec769d7c969852ab1f6fb30f7c (patch)
treec1ddc14f5aa14a4ec909466fa1f1db092fe40198 /Source/cmLocalUnixMakefileGenerator.h
parent46acf162f5c42e5f2d1e9f65a128a3cdc9662cd2 (diff)
downloadCMake-63ca58ceafa459ec769d7c969852ab1f6fb30f7c.zip
CMake-63ca58ceafa459ec769d7c969852ab1f6fb30f7c.tar.gz
CMake-63ca58ceafa459ec769d7c969852ab1f6fb30f7c.tar.bz2
ENH: allow lib prefix for to stay for nmake and borland make as it is not a system prefix
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.h b/Source/cmLocalUnixMakefileGenerator.h
index b4fc54e..9b0d2d4 100644
--- a/Source/cmLocalUnixMakefileGenerator.h
+++ b/Source/cmLocalUnixMakefileGenerator.h
@@ -77,6 +77,10 @@ public:
///! Set max makefile variable size, default is 0 which means unlimited.
void SetMakefileVariableSize(int s) { m_MakefileVariableSize = s; }
+ ///! If ignore lib prefix is true, then do not strip lib from the name of a library.
+ void SetIgnoreLibPrefix(bool s) { m_IgnoreLibPrefix = s; }
+
+
protected:
void AddDependenciesToSourceFile(cmDependInformation const*info,
cmSourceFile *i,
@@ -207,7 +211,7 @@ protected:
int m_MakefileVariableSize;
std::map<cmStdString, cmStdString> m_MakeVariableMap;
std::map<cmStdString, cmStdString> m_ShortMakeVariableMap;
-
+ bool m_IgnoreLibPrefix;
std::string m_IncludeDirective;
std::string m_MakeSilentFlag;
std::string m_ExecutableOutputPath;