Using file contents in CLion projects configurations

已回答

When I debug, various contents of my settings change based on external circumstances - the server to connect to, the folder to use, etc.

Currently I'm updating my debug configuration manually (e.g. the "GDB Server args"). 

Is there an automated way to achieve that?   

For example, I can spill the data that needs updating to a file - is there a way to use file contents in project settings? (As path variables or otherwise?)

0

Hello!

So far there is no way to do that.

We are now working on a possibility to modify environment using script - https://youtrack.jetbrains.com/issue/CPP-17906. But that's about changing environment variables.

As for the "GDB server args" etc. - feel free to create a feature request in our tracker (https://youtrack.jetbrains.com/issues/CPP).

0

请先登录再写评论。