rt.el : The run target package for Emacs, adding IDE run capabilities. Use cmake-ide and cmake to generate a cbp file (CodeBlocks project) and use it to get the availble executable generated by the compile process. Then all executable can be run from emacs.