Browse Source

ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible...

Ken Martin 24 years ago
parent
commit
abff98fb9d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmDSPWriter.cxx

+ 4 - 0
Source/cmDSPWriter.cxx

@@ -151,6 +151,10 @@ void cmDSPWriter::CreateSingleDSP(const char *lname, cmTarget &target)
 void cmDSPWriter::AddDSPBuildRule(cmSourceGroup& sourceGroup)
 {
   std::string dspname = *(m_CreatedProjectNames.end()-1);
+  if(dspname == "ALL_BUILD")
+  {
+    return;
+  }
   dspname += ".dsp";
   std::string makefileIn = "\"";
   makefileIn += m_Makefile->GetStartDirectory();