add Font and Glyph classes

This commit is contained in:
josh committed 2018-01-23 12:08:46 -05:00
1 parent 33bf113f26
commit d776f1a209
6 files changed
+199 -1

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@ def configure(conf):
conf.env.CXXFLAGS += ["-Wall"]
conf.env.CXXFLAGS += ["-std=gnu++14"]
conf.check_cfg(package = "sdl2", args = "--cflags --libs")
conf.check_cfg(package = "freetype2", uselib_store = "FreeType2", args = "--cflags --libs")
if "MINGW" in os.popen("uname").read():
# TODO: set CXX to mingw32-g++
pass
@@ -34,7 +35,7 @@ def build(bld):
bld.program(
source = sources,
target = "app",
uselib = "SDL2",
uselib = ["SDL2", "FreeType2"],
lib = libs,
linkflags = ["-Wl,-rpath,$ORIGIN"],
install_path = None)