From af641426fad35cd857c1f14bda523db3d85a70cd Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 4 May 2024 16:44:28 -0700 Subject: Initial commit. --- fontbaker/CMakeLists.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 fontbaker/CMakeLists.txt (limited to 'fontbaker/CMakeLists.txt') 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 @@ +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) -- cgit v1.2.3