my build/debug targets are gone, how do I get them back?

已回答

I do not know what exactly happen, all the sudden all Run/Debug target pointed to the same binary

Since I did not want to hand edit them, I removed them, in the hope CLion will add them back, 

But this did not happen? Do I now have to add them manual back? 

That's not good, how can I get CLion to repopulate the list, I have many binaries/targets in this CMake project configuration

thanks for help

0

Hi, Harald.

You can remove the `<project_root>/.idea` folder, that will cause CLion to repopulate the run configurations (just back it up if you have something useful there, e.g. `codeStyles` folder - you can re-add it later).

0
Avatar
Permanently deleted user

Yes, this works, thanks Anna.

but is in best case a workaround for a problem that shouldn't exist. Can you not add a button somewhere for this?

Do you have already a ticket for this?

0

请先登录再写评论。