| 1042 | } |
| 1043 | |
| 1044 | cm::optional<std::string> cmGeneratorTarget::MaybeGetLocation( |
| 1045 | std::string const& config) const |
| 1046 | { |
| 1047 | cm::optional<std::string> location; |
| 1048 | if (cmGeneratorTarget::ImportInfo const* imp = this->GetImportInfo(config)) { |
| 1049 | if (!imp->Location.empty()) { |
| 1050 | location = imp->Location; |
| 1051 | } |
| 1052 | } else { |
| 1053 | location = this->GetFullPath(config, cmStateEnums::RuntimeBinaryArtifact); |
| 1054 | } |
| 1055 | return location; |
| 1056 | } |
| 1057 | |
| 1058 | std::vector<cmCustomCommand> const& cmGeneratorTarget::GetPreBuildCommands() |
| 1059 | const |
no test coverage detected