Render outlined text with dft.

This commit is contained in:
josh committed 2021-01-07 20:04:38 -05:00
1 parent b396fa8419
commit 072abd788c
5 files changed
+216 -7

No files matched your search

+4 -1
View File
@@ -1,5 +1,6 @@
configure do
check_d_compiler
check_cfg package: "freetype2"
end
build do
@@ -12,8 +13,9 @@ build do
"modules/DerelictGL3/source",
"modules/gl3n/gl3n",
"modules/glamour/glamour",
"modules/dft/src",
].each do |dir|
sources += glob("#{dir}/**/*.d")
sources += glob("#{dir}/**/*.{d,c}")
end
env["D_IMPORT_PATH"] += [
"modules/DerelictUtil/source",
@@ -21,6 +23,7 @@ build do
"modules/DerelictGL3/source",
"modules/gl3n",
"modules/glamour",
"modules/dft/src",
]
env["DFLAGS"] += ["-fversion=Derelict3", "-fversion=gl3n", "-fversion=SDLImage2"]
env["LDFLAGS"] += ["-static-libgcc"]