summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: b0468712fb3bbcea8a8a4ed58aa547549e6093c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 3.0)

project(ui)

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

add_subdirectory(font)
add_subdirectory(fontbaker)

add_library(ui
  src/ui.c)

target_include_directories(ui PUBLIC
  include)

target_link_libraries(ui PUBLIC
  cassert
  cstring
  font
  list)

target_compile_options(ui PRIVATE -Wall -Wextra -Wpedantic)