diff options
author | Brad King <brad.king@kitware.com> | 2006-02-15 21:35:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-15 21:35:16 (GMT) |
commit | 60cd72d01cf8f096a2d78e2ce608040fde14aa5b (patch) | |
tree | 38554dbfe1f79edcf0ae37ed3b91dbbc7b1ce33b /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 38c3145ce16ee756cac971ed6b03b9b75f127448 (diff) | |
download | CMake-60cd72d01cf8f096a2d78e2ce608040fde14aa5b.zip CMake-60cd72d01cf8f096a2d78e2ce608040fde14aa5b.tar.gz CMake-60cd72d01cf8f096a2d78e2ce608040fde14aa5b.tar.bz2 |
ENH: Cleaned up generation of symbolic rules. Removed generation of rebuild_cache and similar rules from internal makefiles.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 03acb8c..600cb2e 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -34,7 +34,10 @@ void cmMakefileExecutableTargetGenerator::WriteRuleFiles() // write in rules for object files this->WriteCommonCodeRules(); - + + // Write the dependency generation rule. + this->WriteTargetDependRules(); + // write the link rules this->WriteExecutableRule(); @@ -53,9 +56,6 @@ void cmMakefileExecutableTargetGenerator::WriteRuleFiles() //---------------------------------------------------------------------------- void cmMakefileExecutableTargetGenerator::WriteExecutableRule() { - // Write the dependency generation rule. - this->WriteTargetDependRules(); - std::vector<std::string> commands; std::string relPath = this->LocalGenerator->GetHomeRelativeOutputPath(); @@ -296,7 +296,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule() this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, targetFullPathReal.c_str(), - depends, commands); + depends, commands, false); // The symlink name for the target should depend on the real target // so if the target version changes it rebuilds and recreates the @@ -308,7 +308,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule() depends.push_back(targetFullPathReal.c_str()); this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, 0, targetFullPath.c_str(), - depends, commands); + depends, commands, false); } // Write convenience targets. |