jalcine / cmake.vim

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

Nothing happens with :CMakeBuild #70

Open markand opened 7 years ago

markand commented 7 years ago

Hello,

I'm trying this plugin with vim 8.0.

I do like stated in the documentation:

It just prints Built all targets but nothing happens, the build directory stays empty. What do I miss?

jalcine commented 7 years ago

Hey @markand, few questions:

  1. From what directory did you call :CMakeCreateBuild build? What's the value of :echo getcwd()?
  2. Is there a CMakeCache.txt in the directory already? Can you provide the output of the directory as tree build?
markand commented 6 years ago
  1. I call :CMakeCreateBuild build from the top repository (which contains CMakeLists.txt and not a build directory yet)
  2. :echo getcwd() returns /home/markand/dev/irccd
  3. I get this error without a build directory at all

EDIT: sorry wrong formatting.

jalcine commented 6 years ago

Just for completeness, do you mind making a sample repository that I can use as a test?

markand commented 6 years ago

Yes, http://hg.malikania.fr/nsnake

LiZhenhuan1019 commented 6 years ago

+1 the same thing happened to me

jalcine commented 6 years ago

Still working on a fix for this. I'm very open to PRs and/or more information on how to reproduce this!

essial commented 6 years ago

Same. Doesn't work. CMakeBuild says nothing. Maybe a plugin combination issue?

cmaughan commented 5 years ago

Me too. Sad face :(