mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 09:00:54 +00:00
replace wtih new build system
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@615 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
17
m4/toplevel/options.m4
Normal file
17
m4/toplevel/options.m4
Normal file
@@ -0,0 +1,17 @@
|
||||
dnl $Id$
|
||||
include(m4/options/backend.m4)dnl
|
||||
include(m4/options/opengl.m4)dnl
|
||||
include(m4/options/vulkan.m4)dnl
|
||||
dnl
|
||||
ifdef([use_stb_image],[add_cflag([-DUSE_STB_IMAGE])],[new_object([external/libz/src/*.c])dnl
|
||||
new_object([external/libjpeg/src/*.c])dnl
|
||||
new_object([external/libpng/src/*.c])dnl
|
||||
add_cflag([-Iexternal/libz/include])dnl
|
||||
add_cflag([-Iexternal/libjpeg/include])dnl
|
||||
add_cflag([-Iexternal/libpng/include])])dnl
|
||||
dnl
|
||||
ifdef([use_stb_truetype],[add_cflag([-DUSE_STB_TRUETYPE])])dnl
|
||||
dnl
|
||||
ifdef([use_freetype2],[add_cflag([-DUSE_FREETYPE2])dnl
|
||||
ifdef([cross_build],[],[add_cflag(esyscmd([pkg-config --cflags freetype2 | xargs printf '%s ']))dnl
|
||||
add_lib(esyscmd([pkg-config --libs freetype2 | xargs printf '%s ']))])])dnl
|
||||
Reference in New Issue
Block a user