Merge topic 'intel_fortran_vs2010' into fix-8707-add-vs-globals
Conflicts: Source/cmLocalVisualStudio7Generator.h
This commit is contained in:
commit
37d8602cde
|
@ -92,12 +92,20 @@ void cmLocalVisualStudio10Generator::Generate()
|
|||
}
|
||||
|
||||
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
|
||||
{
|
||||
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
|
||||
->TargetIsFortranOnly(l->second))
|
||||
{
|
||||
this->CreateSingleVCProj(l->first.c_str(),l->second);
|
||||
}
|
||||
else
|
||||
{
|
||||
cmVisualStudio10TargetGenerator tg(
|
||||
&l->second, static_cast<cmGlobalVisualStudio10Generator*>(
|
||||
this->GetGlobalGenerator()));
|
||||
tg.Generate();
|
||||
}
|
||||
}
|
||||
this->WriteStampFiles();
|
||||
}
|
||||
|
||||
|
|
|
@ -75,6 +75,8 @@ public:
|
|||
|
||||
virtual void ReadAndStoreExternalGUID(const char* name,
|
||||
const char* path);
|
||||
protected:
|
||||
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
|
||||
private:
|
||||
typedef cmVisualStudioGeneratorOptions Options;
|
||||
typedef cmLocalVisualStudio7GeneratorFCInfo FCInfo;
|
||||
|
@ -85,7 +87,6 @@ private:
|
|||
void WriteVCProjHeader(std::ostream& fout, const char *libName,
|
||||
cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
|
||||
void WriteVCProjFooter(std::ostream& fout, cmTarget &target);
|
||||
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
|
||||
void WriteVCProjFile(std::ostream& fout, const char *libName,
|
||||
cmTarget &tgt);
|
||||
void WriteConfigurations(std::ostream& fout,
|
||||
|
|
Loading…
Reference in New Issue