demos: Don't build font features demo on non-UNIX

The fonts features demo now uses fontconfig APIs via PangoFT2, which makes
the code not build on non-Linux, so only include this demo in the build
on UNIX.
This commit is contained in:
Chun-wei Fan 2016-01-26 15:56:07 +08:00
parent 9de3b24c20
commit 2a9967731a

View File

@ -26,7 +26,6 @@ demos_base = \
event_axes.c \ event_axes.c \
expander.c \ expander.c \
filtermodel.c \ filtermodel.c \
font_features.c \
foreigndrawing.c \ foreigndrawing.c \
gestures.c \ gestures.c \
glarea.c \ glarea.c \
@ -72,7 +71,7 @@ demos_base = \
tree_store.c tree_store.c
if OS_UNIX if OS_UNIX
demos = $(demos_base) pagesetup.c demos = $(demos_base) font_features.c pagesetup.c
else else
demos = $(demos_base) demos = $(demos_base)
endif endif
@ -177,7 +176,7 @@ uninstall-update-icon-cache:
MSVCPROJS = gtk3-demo gtk3-demo-application MSVCPROJS = gtk3-demo gtk3-demo-application
gtk3_demo_FILES = $(gtk3_demo_SOURCES) gtk3_demo_FILES = $(gtk3_demo_SOURCES)
gtk3_demo_EXCLUDES = pagesetup.c gtk3_demo_EXCLUDES = font_features.c|pagesetup.c
gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES) gtk3_demo_application_FILES = $(gtk3_demo_application_SOURCES)
gtk3_demo_application_EXCLUDES = dummy gtk3_demo_application_EXCLUDES = dummy