forked from qt-creator/qt-creator
CMake: Demote non-matching generator to 'Warning'
Default KitChooser behavior is to suppress kits with errors everywhere but non-matching CMake generator settings are irrelevant for both non-CMake using projects and analyzer/debugger tools. Change-Id: Ie60f0f23b5c2423128304227fc573526b7ec2113 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -224,7 +224,7 @@ QList<Task> CMakeGeneratorKitInformation::validate(const Kit *k) const
|
||||
} else {
|
||||
QStringList known = tool->supportedGenerators();
|
||||
if (!known.contains(generator)) {
|
||||
result << Task(Task::Error, tr("CMake Tool does not support the configured generator."),
|
||||
result << Task(Task::Warning, tr("CMake Tool does not support the configured generator."),
|
||||
Utils::FileName(), -1, Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM));
|
||||
}
|
||||
if (!generator.startsWith(QLatin1String("CodeBlocks -"))) {
|
||||
|
||||
Reference in New Issue
Block a user