Shatur / neovim-cmake

CMake integration for Neovim
GNU General Public License v3.0
87 stars 19 forks source link

Pass build_args while executing build_all command #31

Closed ravenxrz closed 2 years ago

ravenxrz commented 2 years ago

Describe the problem or limitation you are having

Pass build_args params while executing build_all command.

Describe the solution you'd like

modify cmake.build_all function

Shatur commented 2 years ago

You already can pass additional cmake arguments when execution any of CMake ... command.

ravenxrz commented 2 years ago

I pass a -j argument almost every time when I want to build some targets. So I will appreciate it if we can apply build_args opts while executing CMake build_all.

Shatur commented 2 years ago

Oh, to the --build command. But you can just set MAKEFLAGS environment variable.

ravenxrz commented 2 years ago

Ok, thanks, I will close this issuse.