Shatur / neovim-cmake

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

execute command :CMake run, report err #29

Closed xiaoLeeFeiDao closed 2 years ago

xiaoLeeFeiDao commented 2 years ago

Describe the problem or limitation you are having

When I run or debug, I get an error: 图片

Describe the solution you'd like

  1. When executing cmake run or debug, everything is normal and the result of the target operation is displayed
  2. When CMakeLists.txt changes, reload cmake build config.. just like vscode
  3. How to add the cmake command to the leadermap of lunarvim Describe alternatives you've considered

    NA Additional context

xiaoLeeFeiDao commented 2 years ago

3. How to add the cmake command to the leadermap of lunarvim

i'm so sorry!! this item has been resolved.

Shatur commented 2 years ago

When I run or debug, I get an error:

You probably want to run build_and_run or build_and_debug.

When CMakeLists.txt changes, reload cmake build config.. just like vscode

I don't like it. Configuration is run automatically if you change CMakeLists.txt and build the project. If you want to configure to update list of targets - just run configuration manually.