Merge topic 'vs-Fortran-only-DLL'

f661b95 VS: Fix linking of Fortran-only DLL projects (#10803)
This commit is contained in:
Brad King 2011-01-11 15:50:13 -05:00 committed by CMake Topic Stage
commit c73babf5d2
1 changed files with 6 additions and 1 deletions

View File

@ -1028,7 +1028,12 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
temp += "/";
temp += targetNameImport;
fout << "\t\t\t\tImportLibrary=\""
<< this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"/>\n";
<< this->ConvertToXMLOutputPathSingle(temp.c_str()) << "\"";
if(this->FortranProject)
{
fout << "\n\t\t\t\tLinkDLL=\"true\"";
}
fout << "/>\n";
}
break;
case cmTarget::EXECUTABLE: