install fixes for win32
This commit is contained in:
parent
3ebfc32b5e
commit
1f6057e864
@ -107,9 +107,12 @@ void cmDSPMakefile::OutputDSPFile()
|
|||||||
this->SetBuildType(UTILITY, l->first.c_str());
|
this->SetBuildType(UTILITY, l->first.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (l->second.GetType() != cmTarget::INSTALL)
|
||||||
|
{
|
||||||
this->CreateSingleDSP(l->first.c_str(),l->second);
|
this->CreateSingleDSP(l->first.c_str(),l->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target)
|
void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target)
|
||||||
{
|
{
|
||||||
|
@ -107,9 +107,12 @@ void cmDSPMakefile::OutputDSPFile()
|
|||||||
this->SetBuildType(UTILITY, l->first.c_str());
|
this->SetBuildType(UTILITY, l->first.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (l->second.GetType() != cmTarget::INSTALL)
|
||||||
|
{
|
||||||
this->CreateSingleDSP(l->first.c_str(),l->second);
|
this->CreateSingleDSP(l->first.c_str(),l->second);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target)
|
void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target)
|
||||||
{
|
{
|
||||||
|
@ -125,7 +125,7 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout)
|
|||||||
cmTargets &tgts = pg->GetDSPMakefile()->GetMakefile()->GetTargets();
|
cmTargets &tgts = pg->GetDSPMakefile()->GetMakefile()->GetTargets();
|
||||||
cmTargets::iterator l = tgts.begin();
|
cmTargets::iterator l = tgts.begin();
|
||||||
for(std::vector<std::string>::iterator si = dspnames.begin();
|
for(std::vector<std::string>::iterator si = dspnames.begin();
|
||||||
l != tgts.end(); ++l, ++si)
|
l != tgts.end(); ++l)
|
||||||
{
|
{
|
||||||
// special handling for the current makefile
|
// special handling for the current makefile
|
||||||
if(mf == m_Makefile)
|
if(mf == m_Makefile)
|
||||||
@ -154,8 +154,12 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Write the project into the DSW file
|
// Write the project into the DSW file
|
||||||
|
if (l->second.GetType() != cmTarget::INSTALL)
|
||||||
|
{
|
||||||
this->WriteProject(fout, si->c_str(), dir.c_str(),
|
this->WriteProject(fout, si->c_str(), dir.c_str(),
|
||||||
pg->GetDSPMakefile(),l->second);
|
pg->GetDSPMakefile(),l->second);
|
||||||
|
++si;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// delete the cmMakefile which also deletes the cmMSProjectGenerator
|
// delete the cmMakefile which also deletes the cmMSProjectGenerator
|
||||||
if(mf != m_Makefile)
|
if(mf != m_Makefile)
|
||||||
|
@ -125,7 +125,7 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout)
|
|||||||
cmTargets &tgts = pg->GetDSPMakefile()->GetMakefile()->GetTargets();
|
cmTargets &tgts = pg->GetDSPMakefile()->GetMakefile()->GetTargets();
|
||||||
cmTargets::iterator l = tgts.begin();
|
cmTargets::iterator l = tgts.begin();
|
||||||
for(std::vector<std::string>::iterator si = dspnames.begin();
|
for(std::vector<std::string>::iterator si = dspnames.begin();
|
||||||
l != tgts.end(); ++l, ++si)
|
l != tgts.end(); ++l)
|
||||||
{
|
{
|
||||||
// special handling for the current makefile
|
// special handling for the current makefile
|
||||||
if(mf == m_Makefile)
|
if(mf == m_Makefile)
|
||||||
@ -154,8 +154,12 @@ void cmDSWMakefile::WriteDSWFile(std::ostream& fout)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Write the project into the DSW file
|
// Write the project into the DSW file
|
||||||
|
if (l->second.GetType() != cmTarget::INSTALL)
|
||||||
|
{
|
||||||
this->WriteProject(fout, si->c_str(), dir.c_str(),
|
this->WriteProject(fout, si->c_str(), dir.c_str(),
|
||||||
pg->GetDSPMakefile(),l->second);
|
pg->GetDSPMakefile(),l->second);
|
||||||
|
++si;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// delete the cmMakefile which also deletes the cmMSProjectGenerator
|
// delete the cmMakefile which also deletes the cmMSProjectGenerator
|
||||||
if(mf != m_Makefile)
|
if(mf != m_Makefile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user