neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

BuildTreesitter.cmake (375B)


      1 if(ENABLE_WASMTIME)
      2  set(TREESITTER_ARGS -D TREE_SITTER_FEATURE_WASM=ON)
      3 endif()
      4 
      5 get_externalproject_options(treesitter ${DEPS_IGNORE_SHA})
      6 ExternalProject_Add(treesitter
      7  DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/treesitter
      8  CMAKE_ARGS ${DEPS_CMAKE_ARGS} ${TREESITTER_ARGS}
      9  ${EXTERNALPROJECT_OPTIONS})
     10 
     11 if(USE_BUNDLED_WASMTIME)
     12  add_dependencies(treesitter wasmtime)
     13 endif()