Implementing CLion run configuration

Planned

I'm trying to implement a run configuration for a build system not based in CMake and I'm having trouble with the run configuration, specifically with how to pass to the run configuration the executable to run.

Until now I'm following more or less the code present on the PlatformIO plugin, implementing both a CLionRunConfiguration and a CLionLauncher, but I don't know at what point I should pass the generated application so that it gets executed and/or debugged.

Is necessary to implement bot createProcess and createDebugProcess? Or can I just implement getRunFileAndEnvironment? And in that case, how can I tell these methods what executable I want to run?

Also, if the executable is a GUI application, is there a particular method that should be used?

Thank you.

0

Please sign in to leave a comment.