Commit Graph

7 Commits

Author SHA1 Message Date
Cedric BAIL cae31f824a pkg-config: fix portability issue on Windows.
@fix T2458
2015-06-01 17:20:40 +02:00
Romain Naour fbc51e0432 pkg-config: prefix eolian_flags with sysrootdir when crosscompiling
Otherwise, the elementary build is brocken while crosscompiling since
"pkg-config --variable=eolian_flags eo evas edje ecore efl" return paths
to the host's include directories (/usr/share/eolian/include).

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-28 11:37:11 +02:00
Savio Sena e947632ffb autotools: Fix Eo++ Eolian++ and Evas++ pkg-config files. 2014-09-12 15:28:23 -03:00
Felipe Magno de Almeida c915df4f40 evas-cxx: Added canvas sub-directory to include paths for evas and evas-cxx
These subdirectories are needed because the generated wrappers include them directly.
2014-07-18 18:57:13 -03:00
Savio Sena c987f367d5 autotools: define @datarootdir@ explicitly to avoid config.status warnings.
Summary:
This patch removes warnings like this:

config.status: WARNING:  '/home/savio/src/efl/pc/eo.pc.in' seems to ignore the --datarootdir setting

Reviewers: cedric, JackDanielZ, smohanty

CC: felipealmeida, cedric

Differential Revision: https://phab.enlightenment.org/D843

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-10 10:17:21 +02:00
Savio Sena 8676b03fc0 eolian: fix pkg-config eoincludedir variable to point to @datadir@ instead of @datarootdir@.
Summary: .eo files are installed at $(datadir)/eolian/include/ actually. The set-up fails when configure --datadir is different from --datarootdir.

Reviewers: cedric, JackDanielZ

CC: felipealmeida, cedric

Differential Revision: https://phab.enlightenment.org/D838

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-09 12:47:33 +02:00
Savio Sena 46b6e8a563 eolian_cxx: initial version of the EFL C++ Bindings Generator.
Summary:
This patch adds 'eolian_cxx' -- a C++ bindings generator --
to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate
.eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated
bindings).

src/bin/eolian_cxx: The eolian_cxx program.
src/lib/eolian_cxx: A header-only library that implements the C++ code
generation that binds the .eo classes.

=Examples=

src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example,
it just uses some "dummy" generated C++ classes.

src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how
pure C++ classes inherit from .eo generated classes.

src/examples/evas/evas_cxx_rectangle.cc: More realistic example using
the generated bindings Evas Cxx. Still a bit shallow because we don't
have full fledged .eo descriptions yet, but will be improved.

=Important=

The generated code is not supported and not a stable API/ABI. It is
here to gather people interest and get review before we set things in
stone for release 1.11.

@feature

Reviewers: cedric, smohanty, raster, stefan_schmidt

CC: felipealmeida, JackDanielZ, cedric, stefan

Differential Revision: https://phab.enlightenment.org/D805

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-03 00:56:32 +02:00