configure updates, new 'tiny config' option
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-31 16:54:01 -07:00
commit a00d4ba144
4 changed files with 32 additions and 12 deletions

View file

@ -1,7 +1,9 @@
new_object("src/*.c");
my $gl_libs = "";
if (param_get("tiny")) {
add_cflags("-Oz");
}
if (param_get("classic-theme")) {
add_cflags("-DUSE_CLASSIC_THEME");
}
@ -62,6 +64,10 @@ if (grep(/^cocoa$/, @backends)) {
if (param_get("stb-image")) {
add_cflags("-DUSE_STB_IMAGE");
if(param_get("tiny")) {
add_cflags("-DSTB_IMAGE_STATIC");
add_cflags("-DSTB_IMAGE_IMPLEMENTATION");
}
}
else {
new_object("external/libjpeg/src/*.c");