summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-11-13 20:59:40 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-11-13 20:59:40 (GMT)
commit20b7e6b22204b034d204252c0475f292e830ff61 (patch)
treec4e78c77f55addd507270a17ccd0b9255f01ec0f /Source/cmLocalUnixMakefileGenerator.cxx
parent19b144bdbf1b582e4ad832247bdeee7017d26263 (diff)
downloadCMake-20b7e6b22204b034d204252c0475f292e830ff61.zip
CMake-20b7e6b22204b034d204252c0475f292e830ff61.tar.gz
CMake-20b7e6b22204b034d204252c0475f292e830ff61.tar.bz2
ENH: space fixes and add a status option to message command
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 55dea6a..c89a4d6 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -924,6 +924,7 @@ void cmLocalUnixMakefileGenerator::OutputExecutableRule(std::ostream& fout,
std::string flags;
std::string target = m_ExecutableOutputPath + name
+ cmSystemTools::GetExecutableExtension();
+ target = cmSystemTools::ConvertToOutputPath(target.c_str());
std::string objs = "$(" + this->CreateMakeVariable(name, "_SRC_OBJS") + ") ";
std::string depend = "$(";
depend += this->CreateMakeVariable(name, "_SRC_OBJS")