neovim/cmake
Lewis Russell 688b961d13 feat(treesitter): add support for wasm parsers
Problem: Installing treesitter parser is hard (harder than
climbing to heaven).

Solution: Add optional support for wasm parsers with `wasmtime`.

Notes:

* Needs to be enabled by setting `ENABLE_WASMTIME` for tree-sitter and
  Neovim. Build with
  `make CMAKE_EXTRA_FLAGS=-DENABLE_WASMTIME=ON
  DEPS_CMAKE_FLAGS=-DENABLE_WASMTIME=ON`
* Adds optional Rust (obviously) and C11 dependencies.
* Wasmtime comes with a lot of features that can negatively affect
  Neovim performance due to library and symbol table size. Make sure to
  build with minimal features and full LTO.
* To reduce re-compilation times, install `sccache` and build with
  `RUSTC_WRAPPER=<path/to/sccache> make ...`
2024-08-26 16:44:03 +02:00
..
ConvertPo.cmake build: cmake cleanup 2023-05-13 12:12:29 +02:00
Deps.cmake build: reuse code for deps.txt for both deps and main build 2024-05-28 20:58:07 +02:00
Find.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindIconv.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLibintl.cmake build: cmake fixes 2023-12-16 21:06:28 +01:00
FindLibuv.cmake build: cmake fixes 2023-12-16 21:06:28 +01:00
FindLpeg.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLuajit.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindLuv.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindTreesitter.cmake fixup: raise TS min version 2024-01-25 23:39:25 +01:00
FindUnibilium.cmake build: adjust how find order is prioritized 2023-10-16 20:15:41 +02:00
FindUTF8proc.cmake build: add utf8proc as dependency 2024-06-28 19:47:39 +02:00
FindWasmtime.cmake feat(treesitter): add support for wasm parsers 2024-08-26 16:44:03 +02:00
GenerateVersion.cmake build: various fixes 2023-09-04 00:00:26 +02:00
InstallHelpers.cmake build: bump minimum cmake version to 3.13 2023-12-16 17:17:24 +01:00
PreventInTreeBuilds.cmake build: prevent in-tree builds for the time being, as it's not supported 2016-10-11 20:20:31 -04:00
RunTests.cmake test: override XDG_STATE_HOME as well (#28604) 2024-05-02 20:09:20 +08:00
UninstallHelper.cmake build(cmake): simplify and speed up the uninstall target 2022-06-19 18:34:28 +02:00
Util.cmake build: add function add_target 2024-04-08 10:52:53 +02:00
WindowsDllCopy.cmake build: various fixes 2023-09-04 00:00:26 +02:00