| 5297 | } |
| 5298 | |
| 5299 | std::string cmGlobalXCodeGenerator::ExpandCFGIntDir( |
| 5300 | std::string const& str, std::string const& config) const |
| 5301 | { |
| 5302 | std::string replace1 = "$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)"; |
| 5303 | std::string replace2 = "$(CONFIGURATION)"; |
| 5304 | |
| 5305 | std::string tmp = str; |
| 5306 | for (std::string::size_type i = tmp.find(replace1); i != std::string::npos; |
| 5307 | i = tmp.find(replace1, i)) { |
| 5308 | tmp.replace(i, replace1.size(), config); |
| 5309 | i += config.size(); |
| 5310 | } |
| 5311 | for (std::string::size_type i = tmp.find(replace2); i != std::string::npos; |
| 5312 | i = tmp.find(replace2, i)) { |
| 5313 | tmp.replace(i, replace2.size(), config); |
| 5314 | i += config.size(); |
| 5315 | } |
| 5316 | return tmp; |
| 5317 | } |
| 5318 | |
| 5319 | cmDocumentationEntry cmGlobalXCodeGenerator::GetDocumentation() |
| 5320 | { |
no test coverage detected