| 168 | } |
| 169 | |
| 170 | void cmGhsMultiTargetGenerator::WriteTargetSpecifics(std::ostream& fout, |
| 171 | std::string const& config) |
| 172 | { |
| 173 | std::string outpath; |
| 174 | |
| 175 | /* Determine paths from the target project file to where the output artifacts |
| 176 | * need to be located. |
| 177 | */ |
| 178 | if (this->TagType != GhsMultiGpj::SUBPROJECT) { |
| 179 | // set target binary file destination |
| 180 | std::string binpath = this->GeneratorTarget->GetSupportDirectory(); |
| 181 | outpath = cmSystemTools::RelativePath( |
| 182 | binpath, this->GeneratorTarget->GetDirectory(config)); |
| 183 | /* clang-format off */ |
| 184 | fout << " :binDirRelative=\"" << outpath << "\"\n" |
| 185 | " -o \"" << this->TargetNameReal << "\"\n"; |
| 186 | /* clang-format on */ |
| 187 | } |
| 188 | |
| 189 | // set target object file destination |
| 190 | outpath = "."; |
| 191 | fout << " :outputDirRelative=\"" << outpath << "\"\n"; |
| 192 | } |
| 193 | |
| 194 | void cmGhsMultiTargetGenerator::SetCompilerFlags(std::string const& config, |
| 195 | std::string const& language) |
no test coverage detected