atilaneves/cmake-ide

Default to Ninja?

binary132 opened this issue · 1 comments

Hi, I noticed that when I run cmake-ide-compile with ((nil . ((cmake-ide-build-dir . "build")))) in .dir-locals.el, if I have already created the build using cmake .. -G Ninja, it uses Ninja and works fine. But, if I don't have the build directory set up already, then cmake-ide-compile defaults to use make. Is it possible for me to tweak it so that cmake-ide-compile defaults to Ninja, falling back to the normal platform default if ninja is not defined?

Yes, somebody added that. You just have to set cmake-ide-cmake-opts.