| 4284 | } |
| 4285 | |
| 4286 | std::string cmGeneratorTarget::GetRuntimeLinkLibrary( |
| 4287 | std::string const& lang, std::string const& config) const |
| 4288 | { |
| 4289 | // This is activated by the presence of a default selection whether or |
| 4290 | // not it is overridden by a property. |
| 4291 | cmValue runtimeLibraryDefault = this->Makefile->GetDefinition( |
| 4292 | cmStrCat("CMAKE_", lang, "_RUNTIME_LIBRARY_DEFAULT")); |
| 4293 | if (!cmNonempty(runtimeLibraryDefault)) { |
| 4294 | return std::string(); |
| 4295 | } |
| 4296 | cmValue runtimeLibraryValue = |
| 4297 | this->Target->GetProperty(cmStrCat(lang, "_RUNTIME_LIBRARY")); |
| 4298 | if (!runtimeLibraryValue) { |
| 4299 | runtimeLibraryValue = runtimeLibraryDefault; |
| 4300 | } |
| 4301 | return cmSystemTools::UpperCase(cmGeneratorExpression::Evaluate( |
| 4302 | *runtimeLibraryValue, this->LocalGenerator, config, this)); |
| 4303 | } |
| 4304 | |
| 4305 | std::string cmGeneratorTarget::GetFortranModuleDirectory( |
| 4306 | std::string const& working_dir) const |
no test coverage detected