a better fix maybe
This commit is contained in:
parent
03fd2f6dfa
commit
05717b3dab
|
@ -163,6 +163,12 @@ void cmDSWWriter::WriteDSWFile(std::ostream& fout)
|
|||
al != atgts.end(); ++al)
|
||||
{
|
||||
if (al->second.IsInAll())
|
||||
{
|
||||
if (al->second.GetType() == cmTarget::UTILITY)
|
||||
{
|
||||
l->second.AddUtility(al->first.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
l->second.GetLinkLibraries().push_back(
|
||||
cmTarget::LinkLibraries::value_type(al->first, cmTarget::GENERAL));
|
||||
|
@ -171,6 +177,7 @@ void cmDSWWriter::WriteDSWFile(std::ostream& fout)
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// Write the project into the DSW file
|
||||
if (strncmp(l->first.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
|
||||
{
|
||||
|
@ -234,7 +241,7 @@ void cmDSWWriter::WriteProject(std::ostream& fout,
|
|||
// is the library part of this DSW ? If so add dependency
|
||||
const char* cacheValue
|
||||
= m_Makefile->GetDefinition(j->first.c_str());
|
||||
if(cacheValue || (strcmp(dspname, "ALL_BUILD") == 0))
|
||||
if(cacheValue)
|
||||
{
|
||||
fout << "Begin Project Dependency\n";
|
||||
fout << "Project_Dep_Name " << j->first << "\n";
|
||||
|
|
Loading…
Reference in New Issue