| 109 | } |
| 110 | |
| 111 | void cmMakefileLibraryTargetGenerator::WriteObjectLibraryRules() |
| 112 | { |
| 113 | std::vector<std::string> commands; |
| 114 | std::vector<std::string> depends; |
| 115 | |
| 116 | // Add post-build rules. |
| 117 | this->LocalGenerator->AppendCustomCommands( |
| 118 | commands, this->GeneratorTarget->GetPostBuildCommands(), |
| 119 | this->GeneratorTarget, this->LocalGenerator->GetBinaryDirectory()); |
| 120 | |
| 121 | // Depend on the object files. |
| 122 | this->AppendObjectDepends(depends); |
| 123 | |
| 124 | // Write the rule. |
| 125 | this->LocalGenerator->WriteMakeRule(*this->BuildFileStream, nullptr, |
| 126 | this->GeneratorTarget->GetName(), |
| 127 | depends, commands, true); |
| 128 | |
| 129 | // Write the main driver rule to build everything in this target. |
| 130 | this->WriteTargetDriverRule(this->GeneratorTarget->GetName(), false); |
| 131 | } |
| 132 | |
| 133 | void cmMakefileLibraryTargetGenerator::WriteStaticLibraryRules() |
| 134 | { |
no test coverage detected