diff options
author | David Cole <david.cole@kitware.com> | 2011-08-16 21:01:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-08-16 21:01:33 (GMT) |
commit | a772f21a7d9bf0985c5b2300c16c040cfd989ec9 (patch) | |
tree | 380afd2d86bd46736cc77cb13727a190569bf17f /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 6d5819ca6ced9b8da75950ae98d1f185dd0acbf7 (diff) | |
parent | 3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153 (diff) | |
download | CMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.zip CMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.tar.gz CMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.tar.bz2 |
Merge topic 'intel_fortran_vs2010'
3c53fbb Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index ac4296c..8cba84c 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1578,6 +1578,13 @@ void cmVisualStudio10TargetGenerator::WriteProjectReferences() i != depends.end(); ++i) { cmTarget* dt = *i; + // skip fortran targets as they can not be processed by MSBuild + // the only reference will be in the .sln file + if(static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator) + ->TargetIsFortranOnly(*dt)) + { + continue; + } this->WriteString("<ProjectReference Include=\"", 2); cmMakefile* mf = dt->GetMakefile(); std::string name = dt->GetName(); |