When multiple build configurations (e.g. Debug and Release ) are used with a CMake project, build steps for configurations except for the active one are reset to "all".
Steps to reproduce:
- Open a CMake target.
- Select the Debug configuration.
- Choose a target other than "all" for the build step.
- Switch to the Release configuration.
- Exit Qt Creator.
- Re-launch Qt Creator.
- Switch to the Debug configuration. Notice how the build step is reset to "all".
Note: As pointed out in this comment it's sufficient to trigger a rescan of the project to cause this bug.