summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-07-08 21:08:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-07-08 21:08:43 (GMT)
commit6c72d25aee92c6cd412c79969b7b18a814ac99cb (patch)
tree8505fe26882d9b97c1aa5dce44bb87a235e3693a /Source/cmLocalVisualStudio10Generator.cxx
parenta8e0287d86aa2450b5cbe0792180587bb1d48b7e (diff)
downloadCMake-6c72d25aee92c6cd412c79969b7b18a814ac99cb.zip
CMake-6c72d25aee92c6cd412c79969b7b18a814ac99cb.tar.gz
CMake-6c72d25aee92c6cd412c79969b7b18a814ac99cb.tar.bz2
Initial support for Intel Fortran VS2010.
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio10Generator.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx
index 1850c16..ef378f9 100644
--- a/Source/cmLocalVisualStudio10Generator.cxx
+++ b/Source/cmLocalVisualStudio10Generator.cxx
@@ -93,10 +93,18 @@ void cmLocalVisualStudio10Generator::Generate()
for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); ++l)
{
- cmVisualStudio10TargetGenerator tg(
- &l->second, static_cast<cmGlobalVisualStudio10Generator*>(
- this->GetGlobalGenerator()));
- tg.Generate();
+ 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();
}