| 2016 | } |
| 2017 | |
| 2018 | void cmMakefileTargetGenerator::AppendObjectDepends( |
| 2019 | std::vector<std::string>& depends) |
| 2020 | { |
| 2021 | // Add dependencies on the compiled object files. |
| 2022 | std::string const& relPath = |
| 2023 | this->LocalGenerator->GetHomeRelativeOutputPath(); |
| 2024 | for (std::string const& obj : this->Objects) { |
| 2025 | std::string objTarget = cmStrCat(relPath, obj); |
| 2026 | depends.push_back(std::move(objTarget)); |
| 2027 | } |
| 2028 | |
| 2029 | // Add dependencies on the external object files. |
| 2030 | cm::append(depends, this->ExternalObjects); |
| 2031 | |
| 2032 | // Add a dependency on the rule file itself. |
| 2033 | this->LocalGenerator->AppendRuleDepend(depends, |
| 2034 | this->BuildFileNameFull.c_str()); |
| 2035 | } |
| 2036 | |
| 2037 | void cmMakefileTargetGenerator::AppendLinkDepends( |
| 2038 | std::vector<std::string>& depends, std::string const& linkLanguage) |
no test coverage detected