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
|
1 year ago | |
---|---|---|
.. | ||
cmake | 1 year ago | |
source | 1 year ago | |
tree-sitter-cmake | 1 year ago | |
CMakeLists.txt | 1 year ago | |
README.md | 1 year ago |
README.md
!!WARNING MULTI STAGE BUILD!!
- 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 ..
- Build this
$ mkdir build && cd build
$ cmake ..
$ cmake --build .