CLion plugin to execute single file .c/.cpp file quickly.
Shift + Alt + E
on a source file to create an executable with the corresponding file.
If you are from the Java world, you might be used to be able to create a new single
public static void main(String [] args)
in every class in order test some thing
really quick.
With CMake things are more complicated since all files needed to be linked together in an
executable
and duplicated method names will not be tolerated.
This plugin will automatically insert a new executable
for a single source file in the nearest CMake file.
Simply choose a C/C++ source file you want to execute separately from your main project and press the hot key
Shift + Alt + E