forked from qt-creator/qt-creator
CMakePM: Add "[cmake] " prefix to all output messages
With this one could easily filter the "[cmake] " messages from all the messages in the "Generate Messages" pane. Change-Id: I690650f0ccb0372c9361b95cfec41809737720d7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "fileapiparser.h"
|
||||
|
||||
#include "cmakeprocess.h"
|
||||
#include "cmakeprojectmanagertr.h"
|
||||
|
||||
#include <coreplugin/messagemanager.h>
|
||||
@@ -42,9 +43,10 @@ FilePath FileApiParser::cmakeReplyDirectory(const FilePath &buildDirectory)
|
||||
|
||||
static void reportFileApiSetupFailure()
|
||||
{
|
||||
Core::MessageManager::writeFlashing(Tr::tr("Failed to set up CMake file API support. %1 cannot "
|
||||
"extract project information.")
|
||||
.arg(QGuiApplication::applicationDisplayName()));
|
||||
Core::MessageManager::writeFlashing(
|
||||
addCMakePrefix(Tr::tr("Failed to set up CMake file API support. %1 cannot "
|
||||
"extract project information.")
|
||||
.arg(QGuiApplication::applicationDisplayName())));
|
||||
}
|
||||
|
||||
static std::pair<int, int> cmakeVersion(const QJsonObject &obj)
|
||||
|
||||
Reference in New Issue
Block a user