diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-08-22 20:33:58 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-08-22 20:33:58 (GMT) |
commit | abff98fb9dfb72a69aa34eddd53c34a2cf208f35 (patch) | |
tree | ae15ac6fdc600817e3b76a27a0b2b872261fc371 /Source/cmDSPWriter.cxx | |
parent | ddd5a7d7290390771dbe8d41ea9ef737ce4d0c62 (diff) | |
download | CMake-abff98fb9dfb72a69aa34eddd53c34a2cf208f35.zip CMake-abff98fb9dfb72a69aa34eddd53c34a2cf208f35.tar.gz CMake-abff98fb9dfb72a69aa34eddd53c34a2cf208f35.tar.bz2 |
ENH: do not put a rule in to rebuild the ALL_BUILD.dsp file, as it is not possible...
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |