aboutsummaryrefslogtreecommitdiff
path: root/plugin/CMakeLists.txt
blob: f2745b29c9bf3923425224ad81d85ca35e365b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.5)

project(plugin)

set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED On)
set(CMAKE_C_EXTENSIONS Off)

add_library(plugin
  src/plugin.c)

target_include_directories(plugin PUBLIC
  include)

target_link_libraries(plugin PRIVATE
  cstring
  list
  log)

target_compile_options(plugin PRIVATE -Wall -Wextra)