소스 검색

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

Ken Martin 24 년 전
부모
커밋
abff98fb9d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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();