jalcine / cmake.vim

:hammer: CMake functionality within Vim.
https://jalcine.github.io/cmake.vim
MIT License
74 stars 11 forks source link

Bug: makeprg set to `make -C 0` after invoked `CMakeCreateBuild build` from empty buffer #10

Closed robturtle closed 10 years ago

robturtle commented 10 years ago

Though is a rare use case, it'd be better if the CMake project source root would be set correctly invoking from empty buffer

jalcine commented 10 years ago

Rare indeed. The command looks for a CMakeLists.txt in the directory in hopes to initiate the build. It should just fail if it can't find a source directory.

jalcine commented 10 years ago

I'll be working on this today. It should be a quick fix.

jalcine commented 10 years ago

Been fixed this. My bad for delaying in the reply.