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

project(filesystem)

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

add_library(filesystem
  src/filesystem.c
  src/path.c)

target_include_directories(filesystem PUBLIC
  include)

target_link_libraries(filesystem PRIVATE
  cassert)

target_compile_options(filesystem PRIVATE -Wall -Wextra)