Is there a way to define a custom run command for a project? One of the projects I'm working on uses MPI. Compiling with MPI is easy enough through cmake. But to run the project I have to go to the command line and invoke the mpi-runtime.
Basically I want to be able to tell CLion to run my program with
mpi_run -np 8 ./ProgramName