| 48 | default; |
| 49 | |
| 50 | void cmMakefileExecutableTargetGenerator::WriteRuleFiles() |
| 51 | { |
| 52 | // create the build.make file and directory, put in the common blocks |
| 53 | this->CreateRuleFile(); |
| 54 | |
| 55 | // write rules used to help build object files |
| 56 | this->WriteCommonCodeRules(); |
| 57 | |
| 58 | // write the per-target per-language flags |
| 59 | this->WriteTargetLanguageFlags(); |
| 60 | |
| 61 | // write in rules for object files and custom commands |
| 62 | this->WriteTargetBuildRules(); |
| 63 | |
| 64 | // write the device link rules |
| 65 | this->WriteDeviceExecutableRule(false); |
| 66 | |
| 67 | // write the link rules |
| 68 | this->WriteExecutableRule(false); |
| 69 | if (this->GeneratorTarget->NeedRelinkBeforeInstall(this->GetConfigName())) { |
| 70 | // Write rules to link an installable version of the target. |
| 71 | this->WriteExecutableRule(true); |
| 72 | } |
| 73 | |
| 74 | this->WriteTargetLinkDependRules(); |
| 75 | |
| 76 | // Write clean target |
| 77 | this->WriteTargetCleanRules(); |
| 78 | |
| 79 | // Write the dependency generation rule. This must be done last so |
| 80 | // that multiple output pair information is available. |
| 81 | this->WriteTargetDependRules(); |
| 82 | |
| 83 | // close the streams |
| 84 | this->CloseFileStreams(); |
| 85 | } |
| 86 | |
| 87 | void cmMakefileExecutableTargetGenerator::WriteDeviceExecutableRule( |
| 88 | bool relink) |
nothing calls this directly
no test coverage detected