ENH: missing check_build_system for all target

This commit is contained in:
Ken Martin 2005-10-20 14:25:08 -04:00
parent 929553a02e
commit a2d4e15ed3

View File

@ -2835,6 +2835,7 @@ void cmLocalUnixMakefileGenerator3
if (!m_Parent) if (!m_Parent)
{ {
dir = "all"; dir = "all";
depends.push_back("cmake_check_build_system");
} }
this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir); this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir);
this->WriteMakeRule(ruleFileStream, "The main all target", "all", depends, commands); this->WriteMakeRule(ruleFileStream, "The main all target", "all", depends, commands);
@ -2844,6 +2845,7 @@ void cmLocalUnixMakefileGenerator3
dir += "/clean"; dir += "/clean";
dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE); dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE);
commands.clear(); commands.clear();
depends.clear();
this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir); this->CreateJumpCommand(commands,"CMakeFiles/Makefile2",dir);
this->WriteMakeRule(ruleFileStream, "The main clean target", "clean", depends, commands); this->WriteMakeRule(ruleFileStream, "The main clean target", "clean", depends, commands);