| 1255 | } |
| 1256 | |
| 1257 | std::string cmGlobalVisualStudio10Generator::GenerateRuleFile( |
| 1258 | std::string const& output) const |
| 1259 | { |
| 1260 | // The VS 10 generator needs to create the .rule files on disk. |
| 1261 | // Hide them away under the CMakeFiles directory. |
| 1262 | cmCryptoHash hasher(cmCryptoHash::AlgoMD5); |
| 1263 | std::string ruleDir = cmStrCat( |
| 1264 | this->GetCMakeInstance()->GetHomeOutputDirectory(), "/CMakeFiles/", |
| 1265 | hasher.HashString(cmSystemTools::GetFilenamePath(output))); |
| 1266 | std::string ruleFile = cmStrCat( |
| 1267 | ruleDir, '/', cmSystemTools::GetFilenameNameView(output), ".rule"); |
| 1268 | return ruleFile; |
| 1269 | } |
| 1270 | |
| 1271 | void cmGlobalVisualStudio10Generator::PathTooLong(cmGeneratorTarget* target, |
| 1272 | cmSourceFile const* sf, |
nothing calls this directly
no test coverage detected