| 2994 | } |
| 2995 | |
| 2996 | cm::optional<std::string> cmLocalGenerator::GetMSVCDebugFormatName( |
| 2997 | std::string const& config, cmGeneratorTarget const* target) |
| 2998 | { |
| 2999 | // MSVC debug information format selection is activated by the presence |
| 3000 | // of a default whether or not it is overridden by a property. |
| 3001 | cm::optional<std::string> msvcDebugInformationFormat; |
| 3002 | cmValue msvcDebugInformationFormatDefault = this->Makefile->GetDefinition( |
| 3003 | "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT_DEFAULT"); |
| 3004 | if (cmNonempty(msvcDebugInformationFormatDefault)) { |
| 3005 | cmValue msvcDebugInformationFormatValue = |
| 3006 | target->GetProperty("MSVC_DEBUG_INFORMATION_FORMAT"); |
| 3007 | if (!msvcDebugInformationFormatValue) { |
| 3008 | msvcDebugInformationFormatValue = msvcDebugInformationFormatDefault; |
| 3009 | } |
| 3010 | msvcDebugInformationFormat = cmGeneratorExpression::Evaluate( |
| 3011 | *msvcDebugInformationFormatValue, this, config, target); |
| 3012 | } |
| 3013 | return msvcDebugInformationFormat; |
| 3014 | } |
| 3015 | |
| 3016 | cm::optional<cmSwiftCompileMode> cmLocalGenerator::GetSwiftCompileMode( |
| 3017 | cmGeneratorTarget const* target, std::string const& config) |
no test coverage detected