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:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "cmakebuildsystem.h"
|
||||
#include "cmakekitaspect.h"
|
||||
#include "cmakeprocess.h"
|
||||
#include "cmakeproject.h"
|
||||
#include "cmakeprojectconstants.h"
|
||||
#include "cmakeprojectmanagertr.h"
|
||||
@@ -411,8 +412,8 @@ void CMakeManager::buildFile(Node *node)
|
||||
bc->buildDirectory());
|
||||
targetBase = relativeBuildDir / "CMakeFiles" / (targetNode->displayName() + ".dir");
|
||||
} else if (!generator.contains("Makefiles")) {
|
||||
Core::MessageManager::writeFlashing(
|
||||
Tr::tr("Build File is not supported for generator \"%1\"").arg(generator));
|
||||
Core::MessageManager::writeFlashing(addCMakePrefix(
|
||||
Tr::tr("Build File is not supported for generator \"%1\"").arg(generator)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user