neovim

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

LpegCMakeLists.txt (292B)


      1 cmake_minimum_required(VERSION 3.16)
      2 project (lpeg C)
      3 
      4 include(GNUInstallDirs)
      5 
      6 file(GLOB LPEG_SOURCES ${CMAKE_SOURCE_DIR}/*.c)
      7 add_library(lpeg ${LPEG_SOURCES})
      8 
      9 target_compile_options(lpeg PRIVATE -w)
     10 
     11 install(TARGETS lpeg ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
     12 
     13 # vim: set ft=cmake: