summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-28 14:15:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-28 14:15:40 (GMT)
commitddf814f964f16b72ed294b099a4c0c9c575efb92 (patch)
tree14ae01c99ca0be65e0e99a28e64075bd6c22f988 /Source/cmLocalUnixMakefileGenerator.h
parent14ba8b5df9728abd26fc6ce008b4e4a1ad3ceb96 (diff)
downloadCMake-ddf814f964f16b72ed294b099a4c0c9c575efb92.zip
CMake-ddf814f964f16b72ed294b099a4c0c9c575efb92.tar.gz
CMake-ddf814f964f16b72ed294b099a4c0c9c575efb92.tar.bz2
ENH: Encode object files with funny characters in the name. It should fix Bug #418 - Borland 5.5.1, Templates/*.cxx files with '+' chars used in execs
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.h b/Source/cmLocalUnixMakefileGenerator.h
index 7a05d2e..756190d 100644
--- a/Source/cmLocalUnixMakefileGenerator.h
+++ b/Source/cmLocalUnixMakefileGenerator.h
@@ -232,12 +232,19 @@ protected:
/** Output an echo command to the Makefile */
void OutputEcho(std::ostream& fout, const char *msg);
+
+ /**
+ * Convert source file name to a safe object file name. Safe here means that
+ * it will not clash with compilers or linkers.
+ */
+ std::string& CreateSafeUniqueObjectFileName(const char* sin);
///! final processing for a path to be put in a makefile
protected:
int m_MakefileVariableSize;
std::map<cmStdString, cmStdString> m_MakeVariableMap;
std::map<cmStdString, cmStdString> m_ShortMakeVariableMap;
+ std::map<cmStdString, cmStdString> m_UniqueObjectNamesMap;
bool m_IgnoreLibPrefix;
std::string m_IncludeDirective;
std::string m_MakeSilentFlag;