| 671 | } |
| 672 | |
| 673 | void CMakeManager::showConfigureErrorMessage(const IProject& project, const QString& errorMessage) |
| 674 | { |
| 675 | const QString messageText = i18n( |
| 676 | "Failed to configure project '%1' (error message: %2)." |
| 677 | " As a result, KDevelop's code understanding will likely be broken.\n" |
| 678 | "\n" |
| 679 | "To fix this issue, please ensure that the project's CMakeLists.txt files" |
| 680 | " are correct, and KDevelop is configured to use the correct CMake version and settings." |
| 681 | " Then right-click the project item in the projects tool view and click 'Reload'.", |
| 682 | project.name(), errorMessage); |
| 683 | showConfigureStatusMessage(project, messageText, Sublime::Message::Error); |
| 684 | } |
| 685 | |
| 686 | void CMakeManager::showConfigureStatusMessage(const IProject& project, const QString& messageText, |
| 687 | Sublime::Message::MessageType messageType) |