eet-cxx: add implementation for eet C++.
Usage example:
struct type
{
int foo;
float bar;
};
type t0;
auto descriptor = make_descriptor("type", &type::ofo, &type::bar);
eet_data_write(file, descriptor.native_handle(), "type", &t0, false);
std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
type t = read(file, "type", descriptor);
@feature
Reviewers: cedric, smohanty
Reviewed By: cedric
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 03:08:07 -07:00
|
|
|
|
|
|
|
### Library
|
|
|
|
|
2014-06-02 06:54:06 -07:00
|
|
|
if HAVE_CXX11
|
2014-05-02 15:55:51 -07:00
|
|
|
installed_eetcxxmainheadersdir = $(includedir)/eet-cxx-@VMAJ@
|
eet-cxx: add implementation for eet C++.
Usage example:
struct type
{
int foo;
float bar;
};
type t0;
auto descriptor = make_descriptor("type", &type::ofo, &type::bar);
eet_data_write(file, descriptor.native_handle(), "type", &t0, false);
std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
type t = read(file, "type", descriptor);
@feature
Reviewers: cedric, smohanty
Reviewed By: cedric
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 03:08:07 -07:00
|
|
|
dist_installed_eetcxxmainheaders_DATA = bindings/eet_cxx/Eet.hh
|
|
|
|
|
2014-05-02 15:55:51 -07:00
|
|
|
installed_eetcxxheadersdir = $(includedir)/eet-cxx-@VMAJ@/eet-cxx
|
eet-cxx: add implementation for eet C++.
Usage example:
struct type
{
int foo;
float bar;
};
type t0;
auto descriptor = make_descriptor("type", &type::ofo, &type::bar);
eet_data_write(file, descriptor.native_handle(), "type", &t0, false);
std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
type t = read(file, "type", descriptor);
@feature
Reviewers: cedric, smohanty
Reviewed By: cedric
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 03:08:07 -07:00
|
|
|
dist_installed_eetcxxheaders_DATA = \
|
|
|
|
bindings/eet_cxx/eet_composite.hh \
|
|
|
|
bindings/eet_cxx/eet_fold.hh \
|
|
|
|
bindings/eet_cxx/eet_register.hh \
|
|
|
|
bindings/eet_cxx/eet_tuple.hh \
|
|
|
|
bindings/eet_cxx/eet_type.hh
|
|
|
|
|
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
check_PROGRAMS += tests/eet_cxx/eet_cxx_suite
|
|
|
|
TESTS += tests/eet_cxx/eet_cxx_suite
|
|
|
|
|
|
|
|
tests_eet_cxx_eet_cxx_suite_SOURCES = \
|
|
|
|
tests/eet_cxx/eet_cxx_suite.cc \
|
|
|
|
tests/eet_cxx/eet_cxx_test_descriptors.cc
|
|
|
|
|
|
|
|
tests_eet_cxx_eet_cxx_suite_CPPFLAGS = \
|
|
|
|
-I$(top_builddir)/src/lib/efl \
|
|
|
|
-DTESTS_WD=\"`pwd`\" \
|
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet_cxx\" \
|
2014-05-04 03:19:39 -07:00
|
|
|
-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)/src/tests/eet_cxx\" \
|
eet-cxx: add implementation for eet C++.
Usage example:
struct type
{
int foo;
float bar;
};
type t0;
auto descriptor = make_descriptor("type", &type::ofo, &type::bar);
eet_data_write(file, descriptor.native_handle(), "type", &t0, false);
std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
type t = read(file, "type", descriptor);
@feature
Reviewers: cedric, smohanty
Reviewed By: cedric
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 03:08:07 -07:00
|
|
|
-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eet_cxx\" \
|
2014-05-04 03:19:39 -07:00
|
|
|
@CHECK_CFLAGS@ @EET_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EET_CFLAGS@ @EINA_CFLAGS@
|
eet-cxx: add implementation for eet C++.
Usage example:
struct type
{
int foo;
float bar;
};
type t0;
auto descriptor = make_descriptor("type", &type::ofo, &type::bar);
eet_data_write(file, descriptor.native_handle(), "type", &t0, false);
std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
type t = read(file, "type", descriptor);
@feature
Reviewers: cedric, smohanty
Reviewed By: cedric
CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D659
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 03:08:07 -07:00
|
|
|
tests_eet_cxx_eet_cxx_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@
|
|
|
|
tests_eet_cxx_eet_cxx_suite_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
|
|
|
|
endif
|
|
|
|
endif
|