summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-25 19:32:22 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-25 19:32:22 (GMT)
commit410f4838b8349eaf2e638c8b770528610e344a76 (patch)
treee81cdb839a1f7d87f0ace970d001af36a2484672 /Source/cmUnixMakefileGenerator.cxx
parent1a2918040d99a073417b7b230ab7898933300ae9 (diff)
downloadCMake-410f4838b8349eaf2e638c8b770528610e344a76.zip
CMake-410f4838b8349eaf2e638c8b770528610e344a76.tar.gz
CMake-410f4838b8349eaf2e638c8b770528610e344a76.tar.bz2
BUG: WIN32 executable target rules are now generated in unix the same as any other executable (instead of not at all).
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmUnixMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 5038bde..4be093a 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -352,7 +352,8 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
this->OutputLinkLibraries(fout, l->first.c_str(), l->second);
fout << "\n\n";
}
- else if (l->second.GetType() == cmTarget::EXECUTABLE)
+ else if ((l->second.GetType() == cmTarget::EXECUTABLE)
+ || (l->second.GetType() == cmTarget::WIN32_EXECUTABLE))
{
fout << l->first << ": ${" <<
l->first << "_SRC_OBJS} ${CMAKE_DEPEND_LIBS}\n";