summaryrefslogtreecommitdiff
path: root/.ci/ci-configure.sh
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-01-09 14:36:09 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-10 10:57:42 +0100
commit8d58ef48bdad37d42272d28008f538324c9a01fe (patch)
tree4e288fb38e2176d39ba4e8c6cb8cce66a1ffc9fe /.ci/ci-configure.sh
parent2c2f93dc1a8114695d5d72d7ea850995e88f9e56 (diff)
meson: modify options for enabling the bindings
bindings are added as subdir by foreaching a array defined in meson.build at root. then meson checks a option which has the same name of the binding. this patch appends a new option for selecting bindings to build. [howto] *as-is meson build.asis/ -Dmono=false -Dcxx=true ninja -C build.asis/ *to-be menson build.tobe/ -Dbindings=luajit,cxx ninja -C build.tobe/ it is imposibble to use this wrongly because meson raise a error if arguments are not in a predefined list that described in meson_options.txt. for more information, refer to https://mesonbuild.com/Build-options.html and also take a look at meson_options.txt please. Differential Revision: https://phab.enlightenment.org/D7563
Diffstat (limited to '.ci/ci-configure.sh')
-rwxr-xr-x.ci/ci-configure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index b2a62b5736..4a2211ba09 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -7,7 +7,7 @@ set -e
7if [ "$BUILDSYSTEM" = "ninja" ] ; then 7if [ "$BUILDSYSTEM" = "ninja" ] ; then
8 if [ "$DISTRO" != "" ] ; then 8 if [ "$DISTRO" != "" ] ; then
9 # Normal build test of all targets 9 # Normal build test of all targets
10 OPTS=" -Decore-imf-loaders-disabler=scim,ibus -Davahi=false -Dmono=false -Dcxx=false" 10 OPTS=" -Decore-imf-loaders-disabler=scim,ibus -Davahi=false -Dbindings=luajit"
11 11
12 WAYLAND_LINUX_COPTS=" -Dwl=true -Ddrm=true -Dopengl=es-egl" 12 WAYLAND_LINUX_COPTS=" -Dwl=true -Ddrm=true -Dopengl=es-egl"
13 13
@@ -41,7 +41,7 @@ if [ "$BUILDSYSTEM" = "ninja" ] ; then
41 export CFLAGS="-I/usr/local/opt/openssl/include -frewrite-includes $CFLAGS" 41 export CFLAGS="-I/usr/local/opt/openssl/include -frewrite-includes $CFLAGS"
42 export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS" 42 export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
43 export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" 43 export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
44 mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dmono=false -Dcxx=false -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer,gstreamer1,libvlc,xine 44 mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dbindings=luajit -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer,gstreamer1,libvlc,xine
45 fi 45 fi
46else 46else
47 CI_BUILD_TYPE="$1" 47 CI_BUILD_TYPE="$1"