cmake-ide icon indicating copy to clipboard operation
cmake-ide copied to clipboard

way to interactivelly choose Makefile build target for compilation.

Open vibrys opened this issue 7 years ago • 0 comments

Hi Atila

After the build directory is created with Makefile included, the next step is to compile the project. cmake-ide-compile command does the job. I'd like it to display all the available targets for me so that I could interactively choose one of them. There is another command that does it in emacs. It is 'helm-make'. I'd like to have the possibility to have cmake-ide use 'helm-make' to compile my project.

One of the ways to achieve is to let cmake-ide-compile-command point to some function as well.

Then I just could customize it to the following:

         (lambda nil
           (with-helm-default-directory
               (cmake-ide--get-build-dir)
               (call-interactively 'helm-make)))

I've created a patch to have this ability. Could You please tell Your opinion on that?

Thank You very much for cmake-ide and best regards, Mat

vibrys avatar May 21 '17 17:05 vibrys