cmake.vim icon indicating copy to clipboard operation
cmake.vim copied to clipboard

Nothing happens with :CMakeBuild

Open markand opened this issue 7 years ago • 8 comments

Hello,

I'm trying this plugin with vim 8.0.

I do like stated in the documentation:

  • :CMakeCreateBuild build
  • :CMakeBuild

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

markand avatar Sep 30 '17 11:09 markand

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?

jalcine avatar Oct 17 '17 23:10 jalcine

  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.

markand avatar Nov 29 '17 16:11 markand

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

jalcine avatar Nov 29 '17 23:11 jalcine

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

markand avatar Nov 30 '17 07:11 markand

+1 the same thing happened to me

LiZhenhuan1019 avatar Dec 04 '17 02:12 LiZhenhuan1019

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

jalcine avatar Dec 14 '17 21:12 jalcine

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

essial avatar Feb 12 '18 18:02 essial

Me too. Sad face :(

cmaughan avatar Feb 19 '19 14:02 cmaughan