summaryrefslogtreecommitdiff
path: root/fontbaker/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-05-04 16:44:28 -0700
committer3gg <3gg@shellblade.net>2024-05-04 16:52:53 -0700
commitaf641426fad35cd857c1f14bda523db3d85a70cd (patch)
tree8a219b03aef0c80cac56cd6b88571a7a6988b35b /fontbaker/CMakeLists.txt
Initial commit.
Diffstat (limited to 'fontbaker/CMakeLists.txt')
-rw-r--r--fontbaker/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/fontbaker/CMakeLists.txt b/fontbaker/CMakeLists.txt
new file mode 100644
index 0000000..d33cfa4
--- /dev/null
+++ b/fontbaker/CMakeLists.txt
@@ -0,0 +1,24 @@
1cmake_minimum_required(VERSION 3.0)
2
3project(fontbaker)
4
5set(CMAKE_C_STANDARD 17)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
9set(FREETYPE_DIR contrib/freetype-2.13.2)
10
11add_subdirectory(${FREETYPE_DIR})
12
13add_executable(fontbaker
14 fontbaker.c)
15
16target_include_directories(fontbaker PRIVATE
17 ${FREETYPE_DIR}/include)
18
19target_link_libraries(fontbaker PRIVATE
20 font
21 freetype
22 math)
23
24target_compile_options(fontbaker PRIVATE -Wall -Wextra -Wpedantic)