forked from enlightenment/efl
Examples: Fix compilation (disable CXX examples!)
Warning: This disables CXX examples because they use now-internal APIs that have no EO API binding. Those examples should be updated to use Efl.Ui widgets... once we have them.
This commit is contained in:
parent
26b5eb8a26
commit
6826ce1c6f
|
@ -1,11 +1,11 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_builddir)/src/lib/efl \
|
|
||||||
-I$(top_srcdir)/src/lib/eina \
|
-I$(top_srcdir)/src/lib/eina \
|
||||||
-I$(top_srcdir)/src/lib/eet \
|
-I$(top_srcdir)/src/lib/eet \
|
||||||
-I$(top_srcdir)/src/lib/emile \
|
-I$(top_srcdir)/src/lib/emile \
|
||||||
-I$(top_srcdir)/src/lib/eo \
|
-I$(top_srcdir)/src/lib/eo \
|
||||||
|
-I$(top_srcdir)/src/lib/efl \
|
||||||
-I$(top_srcdir)/src/lib/evas \
|
-I$(top_srcdir)/src/lib/evas \
|
||||||
-I$(top_srcdir)/src/lib/ecore \
|
-I$(top_srcdir)/src/lib/ecore \
|
||||||
-I$(top_srcdir)/src/lib/ecore_input \
|
-I$(top_srcdir)/src/lib/ecore_input \
|
||||||
|
@ -20,6 +20,7 @@ AM_CPPFLAGS = \
|
||||||
-I$(top_builddir)/src/lib/eet \
|
-I$(top_builddir)/src/lib/eet \
|
||||||
-I$(top_builddir)/src/lib/emile \
|
-I$(top_builddir)/src/lib/emile \
|
||||||
-I$(top_builddir)/src/lib/eo \
|
-I$(top_builddir)/src/lib/eo \
|
||||||
|
-I$(top_builddir)/src/lib/efl \
|
||||||
-I$(top_builddir)/src/lib/evas \
|
-I$(top_builddir)/src/lib/evas \
|
||||||
-I$(top_builddir)/src/lib/ecore \
|
-I$(top_builddir)/src/lib/ecore \
|
||||||
-I$(top_builddir)/src/lib/ecore_file \
|
-I$(top_builddir)/src/lib/ecore_file \
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_builddir)/src/lib/efl \
|
|
||||||
-I$(top_srcdir)/src/lib/eina \
|
-I$(top_srcdir)/src/lib/eina \
|
||||||
-I$(top_srcdir)/src/lib/eo \
|
-I$(top_srcdir)/src/lib/eo \
|
||||||
|
-I$(top_srcdir)/src/lib/efl \
|
||||||
-I$(top_srcdir)/src/lib/ecore \
|
-I$(top_srcdir)/src/lib/ecore \
|
||||||
-I$(top_srcdir)/src/lib/ecore_avahi\
|
-I$(top_srcdir)/src/lib/ecore_avahi\
|
||||||
-I$(top_builddir)/src/lib/eina \
|
-I$(top_builddir)/src/lib/eina \
|
||||||
-I$(top_builddir)/src/lib/eo \
|
-I$(top_builddir)/src/lib/eo \
|
||||||
|
-I$(top_builddir)/src/lib/efl \
|
||||||
-I$(top_builddir)/src/lib/ecore \
|
-I$(top_builddir)/src/lib/ecore \
|
||||||
-I$(top_builddir)/src/lib/ecore_avahi \
|
-I$(top_builddir)/src/lib/ecore_avahi \
|
||||||
@AVAHI_CLIENT_CFLAGS@
|
@AVAHI_CLIENT_CFLAGS@
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_builddir)/src/lib/efl \
|
-I$(top_srcdir)/src/lib/efl \
|
||||||
-I$(top_srcdir)/src/lib/eina \
|
-I$(top_srcdir)/src/lib/eina \
|
||||||
-I$(top_srcdir)/src/lib/emile \
|
-I$(top_srcdir)/src/lib/emile \
|
||||||
-I$(top_srcdir)/src/lib/eo \
|
-I$(top_srcdir)/src/lib/eo \
|
||||||
|
@ -11,6 +11,7 @@ AM_CPPFLAGS = \
|
||||||
-I$(top_builddir)/src/lib/eina \
|
-I$(top_builddir)/src/lib/eina \
|
||||||
-I$(top_builddir)/src/lib/emile \
|
-I$(top_builddir)/src/lib/emile \
|
||||||
-I$(top_builddir)/src/lib/eo \
|
-I$(top_builddir)/src/lib/eo \
|
||||||
|
-I$(top_builddir)/src/lib/efl \
|
||||||
-I$(top_builddir)/src/lib/eet \
|
-I$(top_builddir)/src/lib/eet \
|
||||||
-I$(top_builddir)/src/lib/ecore \
|
-I$(top_builddir)/src/lib/ecore \
|
||||||
-I$(top_builddir)/src/lib/eio
|
-I$(top_builddir)/src/lib/eio
|
||||||
|
|
|
@ -17,12 +17,14 @@
|
||||||
#include <Ecore.hh>
|
#include <Ecore.hh>
|
||||||
#include <Evas.hh>
|
#include <Evas.hh>
|
||||||
|
|
||||||
|
#warning TEST CASE DISABLED: EVAS TYPES NO MORE IN EO API
|
||||||
|
|
||||||
|
#if 0
|
||||||
#include <canvas/evas_canvas.eo.hh>
|
#include <canvas/evas_canvas.eo.hh>
|
||||||
#include <canvas/evas_text.eo.hh>
|
#include <canvas/evas_text.eo.hh>
|
||||||
#include <canvas/evas_rectangle.eo.hh>
|
#include <canvas/evas_rectangle.eo.hh>
|
||||||
#include <canvas/evas_zoomable_interface.eo.hh>
|
#include <canvas/evas_zoomable_interface.eo.hh>
|
||||||
|
#include <canvas/evas_grid.eo.hh>
|
||||||
#include "../../lib/evas/canvas/evas_grid.eo.hh"
|
|
||||||
|
|
||||||
namespace efl { namespace evas { // XXX only while we don't have namespaces in EFL
|
namespace efl { namespace evas { // XXX only while we don't have namespaces in EFL
|
||||||
using ::evas::canvas;
|
using ::evas::canvas;
|
||||||
|
@ -118,4 +120,7 @@ int main()
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
int main() { abort(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,13 @@
|
||||||
#include <Ecore.hh>
|
#include <Ecore.hh>
|
||||||
#include <Evas.hh>
|
#include <Evas.hh>
|
||||||
|
|
||||||
|
#warning TEST CASE DISABLED: EVAS TYPES NO MORE IN EO API
|
||||||
|
|
||||||
|
#if 0
|
||||||
#include <canvas/evas_canvas.eo.hh>
|
#include <canvas/evas_canvas.eo.hh>
|
||||||
#include <canvas/evas_image.eo.hh>
|
#include <canvas/evas_image.eo.hh>
|
||||||
|
#include <canvas/evas_text.eo.hh>
|
||||||
#include "../../lib/evas/canvas/evas_text.eo.hh"
|
#include <canvas/evas_grid.eo.hh>
|
||||||
#include "../../lib/evas/canvas/evas_grid.eo.hh"
|
|
||||||
|
|
||||||
namespace efl { namespace evas {
|
namespace efl { namespace evas {
|
||||||
using ::evas::canvas;
|
using ::evas::canvas;
|
||||||
|
@ -101,3 +103,7 @@ int main()
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
int main() { abort(); }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue