You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
alistair 6df58d7561 readme and git db dump script 1 year ago
..
cmake treesitter-analysis 1 year ago
source treesitter-analysis 1 year ago
tree-sitter-cmake treesitter-analysis 1 year ago
CMakeLists.txt treesitter-analysis 1 year ago
README.md readme and git db dump script 1 year ago

README.md

!!WARNING MULTI STAGE BUILD!!

  1. Build treesitter-cmake

Its build directory must be set to the tree-sitter directory here.

$ # git clone --recurse-submodules https://github.com/Symbitic/tree-sitter-cmake
$ mkdir tree-sitter-cmake/build
$ cd tree-sitter-cmake/build
$ cmake  -DCMAKE_INSTALL_PREFIX=../../tree-sitter -DCMAKE_BUILD_TYPE=Release ..
$ cmake --build .
$ sudo cmake --build . --target install
$ cd ..
  1. Build this
$ mkdir build && cd build
$ cmake ..
$ cmake --build .