From abff98fb9dfb72a69aa34eddd53c34a2cf208f35 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 22 Aug 2001 16:33:58 -0400 Subject: ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible... --- Source/cmDSPWriter.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 2d37142..078c9b5 100644 --- a/Source/cmDSPWriter.cxx +++ b/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(); -- cgit v0.12