BUG: WIN32 executable target rules are now generated in unix the same as any other executable (instead of not at all).

This commit is contained in:
Brad King 2001-05-25 15:32:22 -04:00
parent 1a2918040d
commit 410f4838b8
1 changed files with 2 additions and 1 deletions

View File

@ -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";