CMakePM: Filter out utility targets from target configuration list

In the build target list there is no reason to have <target>_autogen
or <target>_autogen_timestamps targets.

Also do not sort the target list, so that the special targets stay
at top (all, clean, install etc)

Change-Id: I3107150bb40d68cc95246d4d09abc300a6e3d3fc
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2021-03-30 17:56:02 +02:00
parent 94ad31be13
commit 3da99f7832
2 changed files with 5 additions and 3 deletions

View File

@@ -532,8 +532,6 @@ void CMakeBuildStep::recreateBuildTargetsModel()
if (idx != -1)
m_buildTargets[idx] = QString("INSTALL");
}
targetList.sort();
targetList.removeDuplicates();
addItem(QString(), true);