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

project(cstring)

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

add_library(cstring
  src/cstring.c)

target_include_directories(cstring PUBLIC
  include)

target_link_libraries(cstring PUBLIC
  cassert
  -lbsd)