From d3855438656484207b3d28b3b65b623c8f9e5a00 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 14 Sep 2004 09:19:21 -0400 Subject: [PATCH] BUG: fix include external project bug --- Source/cmGlobalVisualStudio71Generator.cxx | 1 - Source/cmGlobalVisualStudio7Generator.cxx | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 315b2aa0e..a65fc677c 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -128,7 +128,6 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout, depends.push_back(cc.GetOutput()); this->WriteExternalProject(fout, stuff[0].c_str(), stuff[1].c_str(), depends); - ++si; } else { diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 8b80ee158..97fef5645 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -34,6 +34,8 @@ void cmGlobalVisualStudio7Generator::EnableLanguage(std::vectorcons mf->AddDefinition("CMAKE_CFG_INTDIR","$(IntDir)"); mf->AddDefinition("CMAKE_GENERATOR_CC", "cl"); mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl"); + mf->AddDefinition("CMAKE_GENERATOR_RC", "rc"); + mf->AddDefinition("CMAKE_GENERATOR_Fortran", "ifort"); // Create list of configurations requested by user's cache, if any. this->GenerateConfigurations(mf); @@ -396,7 +398,6 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout, depends.push_back(cc.GetOutput()); this->WriteExternalProject(fout, stuff[0].c_str(), stuff[1].c_str(), depends); - ++si; } else {