Initial support for Intel Fortran VS2010.
This commit is contained in:
parent
a8e0287d86
commit
6c72d25aee
|
@ -93,10 +93,18 @@ void cmLocalVisualStudio10Generator::Generate()
|
||||||
|
|
||||||
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
|
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
|
||||||
{
|
{
|
||||||
cmVisualStudio10TargetGenerator tg(
|
if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator)
|
||||||
&l->second, static_cast<cmGlobalVisualStudio10Generator*>(
|
->TargetIsFortranOnly(l->second))
|
||||||
this->GetGlobalGenerator()));
|
{
|
||||||
tg.Generate();
|
this->CreateSingleVCProj(l->first.c_str(),l->second);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cmVisualStudio10TargetGenerator tg(
|
||||||
|
&l->second, static_cast<cmGlobalVisualStudio10Generator*>(
|
||||||
|
this->GetGlobalGenerator()));
|
||||||
|
tg.Generate();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this->WriteStampFiles();
|
this->WriteStampFiles();
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,6 +75,8 @@ public:
|
||||||
|
|
||||||
virtual void ReadAndStoreExternalGUID(const char* name,
|
virtual void ReadAndStoreExternalGUID(const char* name,
|
||||||
const char* path);
|
const char* path);
|
||||||
|
protected:
|
||||||
|
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
|
||||||
private:
|
private:
|
||||||
typedef cmVisualStudioGeneratorOptions Options;
|
typedef cmVisualStudioGeneratorOptions Options;
|
||||||
typedef cmLocalVisualStudio7GeneratorFCInfo FCInfo;
|
typedef cmLocalVisualStudio7GeneratorFCInfo FCInfo;
|
||||||
|
@ -85,7 +87,6 @@ private:
|
||||||
void WriteVCProjHeader(std::ostream& fout, const char *libName,
|
void WriteVCProjHeader(std::ostream& fout, const char *libName,
|
||||||
cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
|
cmTarget &tgt, std::vector<cmSourceGroup> &sgs);
|
||||||
void WriteVCProjFooter(std::ostream& fout);
|
void WriteVCProjFooter(std::ostream& fout);
|
||||||
void CreateSingleVCProj(const char *lname, cmTarget &tgt);
|
|
||||||
void WriteVCProjFile(std::ostream& fout, const char *libName,
|
void WriteVCProjFile(std::ostream& fout, const char *libName,
|
||||||
cmTarget &tgt);
|
cmTarget &tgt);
|
||||||
void WriteConfigurations(std::ostream& fout,
|
void WriteConfigurations(std::ostream& fout,
|
||||||
|
|
Loading…
Reference in New Issue