aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildTreesitterParsers.cmake
Commit message (Collapse)AuthorAge
* build: rename build-related dirsJustin M. Keyes2022-06-28
| | | | | | | | | | | | | | Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/)
* build(deps): support universal builds on macOSCarlo Cabrera2022-06-24
| | | | | | | | | | | | | | CMake can handle building universal binaries on macOS using the `CMAKE_OSX_ARCHITECTURES` variable. Let's pass this variable to the relevant dep builds. We use the `LIST_SEPARATOR` argument to prevent the shell from interpreting the `;` that CMake uses as a list separator. For dependencies that don't build using CMake, we only need to make sure that the compiler is invoked with the correct `-arch` flags. The compiler does the rest. The only exception to this is the LuaJIT build, which we handle separately as a special case.
* build(cmake): remove unused variable CMAKE_CXX_COMPILER to fix warningDundar Göc2022-03-04
|
* ci: bump Windows image to windows-2019James McCoy2022-02-20
| | | | | | | | The VS 2019 CMake generator no longer has different generator types for different architectures. Now, the architecture is specified via CMake's `-A` switch. However, this requires we also propagate `${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the same architecture as Nvim.
* Build tree-sitter out-of-sourceFlorian Walch2020-02-10
| | | | | | 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.
* build: allow to skip treesitter C parser installMatthieu Coudron2020-02-07
| | | | | | | | | 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.
* build: include tree-sitter-c parser in bundled buildBjörn Linse2020-02-07