configure updates, new 'tiny config' option
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
da3312cee9
commit
a00d4ba144
4 changed files with 32 additions and 12 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue