Describe the problem or limitation you are having
Currently, neovim-cmake always runs cmake when invoking CMake. This is problematic for systems that have multiple versions of CMake, or CMake not in PATH. For example, on Centos 7, the default /usr/bin/cmake version is CMake 2.x. For newer versions, the cmake3 package has to be installed, which must be called as cmake3.
Describe the solution you'd like
Ideally, a new parameter should be added to the setup() table, allowing users to customize the name and/or path of CMake. This could be either the absolute path to the CMake executable, or simply the name of the executable when it is available in PATH.
Describe the problem or limitation you are having Currently, neovim-cmake always runs
cmake
when invoking CMake. This is problematic for systems that have multiple versions of CMake, or CMake not in PATH. For example, on Centos 7, the default/usr/bin/cmake
version is CMake 2.x. For newer versions, the cmake3 package has to be installed, which must be called ascmake3
.Describe the solution you'd like Ideally, a new parameter should be added to the
setup()
table, allowing users to customize the name and/or path of CMake. This could be either the absolute path to the CMake executable, or simply the name of the executable when it is available in PATH.