This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/util/glyphas/CMakeLists.txt
falsycat 80b3b82332 [RELEASE] u22-v04
This version is submitted for U22 final presentation. (squashed 158 commits)
2021-02-07 00:00:00 +00:00

34 lines
427 B
CMake

add_library(glyphas
aligner.c
block.c
cache.c
context.c
drawer.c
face.c
glyph.c
)
target_any_sources(glyphas
drawer.vshader
drawer.fshader
)
target_link_libraries(glyphas
Freetype::Freetype
GLEW::GLEW
OpenGL::GL
chaos
container
conv
gleasy
math
memory
)
if (BUILD_TESTING)
add_executable(glyphas-test test.c)
target_link_libraries(glyphas-test
${SDL2_TARGET}
glyphas)
endif()