Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.14.1
-
None
-
-
dbb5a70f93bb19c7907abcdc3b26248b2959c208 (qt-creator/tqtc-qt-creator/4.15)
Description
When a particular target, e.g. "target1" is explicitly selected for the build step, and this target is removed from the CMake project, it remains active for this build step, but is not listed in the available targets and cannot be removed. When building, this leads to an error.
To reproduce:
- Add add_custom_target(target1) to a CMake project.
- Select this target for the build step.
- Change the target name to target2 in the CMake project.
- Try to build (error) or to change the build targets (target1 not removable).
Attachments
For Gerrit Dashboard: QTCREATORBUG-25477 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
341570,4 | CMakePM: Remove non existing targets from cmake --target list | 4.15 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |