summaryrefslogtreecommitdiff
path: root/fontbaker/CMakeLists.txt
blob: d33cfa49e9bb4ad5d353131e15411b175c02fae1 (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(fontbaker)

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

set(FREETYPE_DIR contrib/freetype-2.13.2)

add_subdirectory(${FREETYPE_DIR})

add_executable(fontbaker
  fontbaker.c)

target_include_directories(fontbaker PRIVATE
  ${FREETYPE_DIR}/include)

target_link_libraries(fontbaker PRIVATE
  font
  freetype
  math)

target_compile_options(fontbaker PRIVATE -Wall -Wextra -Wpedantic)