| 1264 | } |
| 1265 | |
| 1266 | bool cmGeneratorTarget::IsSystemIncludeDirectory( |
| 1267 | std::string const& dir, std::string const& config, |
| 1268 | std::string const& language) const |
| 1269 | { |
| 1270 | std::string config_upper; |
| 1271 | if (!config.empty()) { |
| 1272 | config_upper = cmSystemTools::UpperCase(config); |
| 1273 | } |
| 1274 | |
| 1275 | std::string key = cmStrCat(config_upper, '/', language); |
| 1276 | auto iter = this->SystemIncludesCache.find(key); |
| 1277 | |
| 1278 | if (iter == this->SystemIncludesCache.end()) { |
| 1279 | this->AddSystemIncludeCacheKey(key, config, language); |
| 1280 | iter = this->SystemIncludesCache.find(key); |
| 1281 | } |
| 1282 | |
| 1283 | return std::binary_search(iter->second.begin(), iter->second.end(), dir); |
| 1284 | } |
| 1285 | |
| 1286 | bool cmGeneratorTarget::GetPropertyAsBool(std::string const& prop) const |
| 1287 | { |
no test coverage detected