mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
windows
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@623 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
9
configure
vendored
9
configure
vendored
@@ -2,6 +2,8 @@
|
||||
# $Id$
|
||||
FLAGS=""
|
||||
|
||||
target=""
|
||||
|
||||
feat_cross=false
|
||||
feat_stb_image=true
|
||||
feat_stb_truetype=false
|
||||
@@ -36,6 +38,9 @@ for i in $@; do
|
||||
--cross)
|
||||
feat_cross=true
|
||||
;;
|
||||
--target=)
|
||||
target="`echo $i | cut -d= -f2`"
|
||||
;;
|
||||
--enable-*|--disable-*)
|
||||
if [ "`echo $i | cut -d- -f3`" = "enable" ]; then
|
||||
eval feat_`echo $i | cut -d- -f4- | tr - _`=true
|
||||
@@ -60,6 +65,10 @@ if $feat_cross; then
|
||||
FLAGS="$FLAGS -Dcross_build"
|
||||
fi
|
||||
|
||||
if [ ! "x$target" = "x" ]; then
|
||||
FLAGS="$FLAGS -Dtarget=$target"
|
||||
fi
|
||||
|
||||
if [ ! "x$CC" = "x" ]; then
|
||||
FLAGS="$FLAGS -Dcc=$CC"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user