summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-05-09 12:43:38 +0200
committerCedric Bail <cedric.bail@free.fr>2014-05-09 12:43:43 +0200
commit0a6a3deaee0f5d857fff133c77e5989dba2d4e57 (patch)
treea2d54de6bf0d8285e1a268f03b7bbd4183ad419e /src/Makefile.am
parent78564fac45d375208e723988ab544822afe0086a (diff)
eolian_cxx: removes C++ examples when C++11 isn't supported
Summary: Added HAVE_CXX11 guards to Makefile*.am files for C++ binding to avoid compilation errors for examples when C++11 isn't supported. This also disable installation of all EFL CXX pkgconfig files. Reviewers: cedric, stefan, stefan_schmidt CC: cedric, savio Differential Revision: https://phab.enlightenment.org/D831 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a4d0a69..41fc0d3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -91,7 +91,6 @@ benchmark: all-am
91 91
92EXAMPLES_SUBDIRS = \ 92EXAMPLES_SUBDIRS = \
93examples/eina \ 93examples/eina \
94examples/eina_cxx \
95examples/eo \ 94examples/eo \
96examples/eet \ 95examples/eet \
97examples/evas \ 96examples/evas \
@@ -102,11 +101,18 @@ examples/eldbus \
102examples/ephysics \ 101examples/ephysics \
103examples/edje \ 102examples/edje \
104examples/emotion \ 103examples/emotion \
105examples/ethumb_client \ 104examples/ethumb_client
105
106if HAVE_CXX11
107EXAMPLES_SUBDIRS += \
108examples/eina_cxx \
106examples/eolian_cxx 109examples/eolian_cxx
110endif
111
107if ALWAYS_BUILD_EXAMPLES 112if ALWAYS_BUILD_EXAMPLES
108SUBDIRS += . $(EXAMPLES_SUBDIRS) 113SUBDIRS += . $(EXAMPLES_SUBDIRS)
109endif 114endif
115
110DIST_SUBDIRS += $(EXAMPLES_SUBDIRS) 116DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
111 117
112examples: all-am 118examples: all-am