diff options
author | Brad King <brad.king@kitware.com> | 2006-02-15 16:35:16 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-15 16:35:16 -0500 |
commit | 60cd72d01cf8f096a2d78e2ce608040fde14aa5b (patch) | |
tree | 38554dbfe1f79edcf0ae37ed3b91dbbc7b1ce33b /Source/cmMakefileUtilityTargetGenerator.cxx | |
parent | 38c3145ce16ee756cac971ed6b03b9b75f127448 (diff) | |
download | cmake-60cd72d01cf8f096a2d78e2ce608040fde14aa5b.tar.gz |
ENH: Cleaned up generation of symbolic rules. Removed generation of rebuild_cache and similar rules from internal makefiles.
Diffstat (limited to 'Source/cmMakefileUtilityTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileUtilityTargetGenerator.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmMakefileUtilityTargetGenerator.cxx b/Source/cmMakefileUtilityTargetGenerator.cxx index 9843a0683c..474f8504eb 100644 --- a/Source/cmMakefileUtilityTargetGenerator.cxx +++ b/Source/cmMakefileUtilityTargetGenerator.cxx @@ -38,11 +38,6 @@ void cmMakefileUtilityTargetGenerator::WriteRuleFiles() // Collect the commands and dependencies. std::vector<std::string> commands; std::vector<std::string> depends; - const char* sym = this->Makefile->GetDefinition("CMAKE_MAKE_SYMBOLIC_RULE"); - if(sym) - { - depends.push_back(sym); - } // Utility targets store their rules in pre- and post-build commands. this->LocalGenerator->AppendCustomDepends @@ -65,7 +60,8 @@ void cmMakefileUtilityTargetGenerator::WriteRuleFiles() // Write the rule. this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, - this->Target->GetName(), depends, commands); + this->Target->GetName(), + depends, commands, true); // Write convenience targets. std::string dir = this->Makefile->GetStartOutputDirectory(); |