robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dundargocbuild: bump minimum cmake version to 3.161d815acd78

master
362 B23 linesraw
1cmake_minimum_required(VERSION 3.16)
2project(parser C)
3
4add_compile_options(-w)
5
6file(GLOB source_files src/*.c)
7
8add_library(parser
9  MODULE
10  ${source_files}
11)
12set_target_properties(
13  parser
14  PROPERTIES
15    OUTPUT_NAME ${PARSERLANG}
16    PREFIX ""
17)
18
19include_directories(src)
20
21install(TARGETS parser LIBRARY DESTINATION lib/nvim/parser)
22
23# vim: set ft=cmake: