| 910 | } |
| 911 | |
| 912 | void cmGlobalUnixMakefileGenerator3::AppendCodegenTargetDepends( |
| 913 | std::vector<std::string>& depends, cmGeneratorTarget* target) |
| 914 | { |
| 915 | std::set<std::string> const& codegen_depends = |
| 916 | target->Target->GetCodegenDeps(); |
| 917 | |
| 918 | for (cmTargetDepend const& i : this->GetTargetDirectDepends(target)) { |
| 919 | // Create the target-level dependency. |
| 920 | cmGeneratorTarget const* dep = i; |
| 921 | if (!dep->IsInBuildSystem()) { |
| 922 | continue; |
| 923 | } |
| 924 | if (codegen_depends.find(dep->GetName()) != codegen_depends.end()) { |
| 925 | cmLocalUnixMakefileGenerator3* lg3 = |
| 926 | static_cast<cmLocalUnixMakefileGenerator3*>(dep->GetLocalGenerator()); |
| 927 | std::string tgtName = cmStrCat( |
| 928 | lg3->GetRelativeTargetDirectory(const_cast<cmGeneratorTarget*>(dep)), |
| 929 | "/all"); |
| 930 | depends.push_back(tgtName); |
| 931 | } |
| 932 | } |
| 933 | } |
| 934 | |
| 935 | void cmGlobalUnixMakefileGenerator3::WriteHelpRule( |
| 936 | std::ostream& ruleFileStream, cmLocalUnixMakefileGenerator3* lg) |
no test coverage detected