neovim/cmake.deps/cmake/TreesitterParserCMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
337 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.10)
project(parser C)
file(GLOB source_files src/*.c)
add_library(parser
MODULE
${source_files}
)
set_target_properties(
parser
PROPERTIES
OUTPUT_NAME ${PARSERLANG}
PREFIX ""
)
include_directories(src)
install(TARGETS parser LIBRARY DESTINATION lib/nvim/parser)
# vim: set ft=cmake: