refactor font api
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9fc659b652
commit
0de09207a4
31 changed files with 12209 additions and 6149 deletions
|
|
@ -1,10 +1,10 @@
|
|||
my @enabled_backends=();
|
||||
my @enabled_backends = ();
|
||||
|
||||
if (param_get("wayland")) {
|
||||
push(@enabled_backends,"wayland");
|
||||
push(@enabled_backends, "wayland");
|
||||
}
|
||||
if (param_get("x11")) {
|
||||
push(@enabled_backends,"x11");
|
||||
push(@enabled_backends, "x11");
|
||||
}
|
||||
|
||||
use_backend(@enabled_backends);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ new_object("src/*.c");
|
|||
my $gl_libs = "";
|
||||
if (param_get("tiny")) {
|
||||
add_cflags("-Oz");
|
||||
if(defined($ENV{CC}) && grep(/^clang$/, $ENV{CC})) {
|
||||
if (defined($ENV{CC}) && grep(/^clang$/, $ENV{CC})) {
|
||||
add_libs("-flto=thin");
|
||||
add_cflags("-flto=thin");
|
||||
}
|
||||
|
|
@ -68,7 +68,7 @@ if (grep(/^cocoa$/, @backends)) {
|
|||
|
||||
if (param_get("stb-image")) {
|
||||
add_cflags("-DUSE_STB_IMAGE");
|
||||
if(param_get("tiny")) {
|
||||
if (param_get("tiny")) {
|
||||
add_cflags("-DSTB_IMAGE_STATIC");
|
||||
add_cflags("-DSTB_IMAGE_IMPLEMENTATION");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue