Commit Graph

3 Commits

Author SHA1 Message Date
Florian Walch
3f217741ec Build tree-sitter out-of-source
Avoids having CMakeCache.txt etc in https://github.com/neovim/deps, where it can cause trouble for Ubuntu PPA builds such as:

> CMake Error: The source "/<<BUILDDIR>>/neovim-0.5.0+ubuntu1+git202002090924-1f479ff-00e710e/.deps/build/src/treesitter-c/CMakeLists.txt" does not match the source "/home/travis/build/neovim/bot-ci/build/deps-src/build/src/treesitter-c/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
2020-02-10 21:52:33 +01:00
Matthieu Coudron
712298e1d3 build: allow to skip treesitter C parser install
if USE_BUNDLED_TS_PARSERS is set to off, don't try to install the
parser.
Distribs can install treesitter parsers directly into $CMAKE_LIBRARY_PATH/nvim
(and users anywhere in rtp).

Also fix the URL.
2020-02-07 20:42:27 +01:00
Björn Linse
64807303df build: include tree-sitter-c parser in bundled build 2020-02-07 09:22:55 +01:00