summaryrefslogtreecommitdiff
path: root/src/Makefile_Eet_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-04-01 19:08:07 +0900
committerCedric BAIL <cedric.bail@free.fr>2014-04-01 22:00:13 +0900
commitab3eb4b2d350d017eab6683202663244e11aa518 (patch)
tree076e50c43b9f9784bd707ef974e753a21def1123 /src/Makefile_Eet_Cxx.am
parentb218c13fb798edaccb7bc8cfdf9ac3905e2d86a7 (diff)
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>
Diffstat (limited to 'src/Makefile_Eet_Cxx.am')
-rw-r--r--src/Makefile_Eet_Cxx.am42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/Makefile_Eet_Cxx.am b/src/Makefile_Eet_Cxx.am
new file mode 100644
index 0000000000..b2381aaeda
--- /dev/null
+++ b/src/Makefile_Eet_Cxx.am
@@ -0,0 +1,42 @@
1
2### Library
3
4installed_eetcxxmainheadersdir = $(includedir)/eet_cxx-@VMAJ@
5dist_installed_eetcxxmainheaders_DATA = bindings/eet_cxx/Eet.hh
6
7installed_eetcxxheadersdir = $(includedir)/eet_cxx-@VMAJ@/eet_cxx
8dist_installed_eetcxxheaders_DATA = \
9bindings/eet_cxx/eet_composite.hh \
10bindings/eet_cxx/eet_fold.hh \
11bindings/eet_cxx/eet_register.hh \
12bindings/eet_cxx/eet_tuple.hh \
13bindings/eet_cxx/eet_type.hh
14
15### Unit tests
16
17if EFL_ENABLE_TESTS
18if HAVE_CXX11
19
20check_PROGRAMS += tests/eet_cxx/eet_cxx_suite
21TESTS += tests/eet_cxx/eet_cxx_suite
22
23tests_eet_cxx_eet_cxx_suite_SOURCES = \
24tests/eet_cxx/eet_cxx_suite.cc \
25tests/eet_cxx/eet_cxx_test_descriptors.cc
26
27tests_eet_cxx_eet_cxx_suite_CPPFLAGS = \
28-I$(top_builddir)/src/lib/efl \
29-I$(top_builddir)/src/bindings/eina_cxx \
30-I$(top_builddir)/src/bindings/eet_cxx \
31-I$(top_srcdir)/src/bindings/eina_cxx \
32-I$(top_srcdir)/src/bindings/eet_cxx \
33-DTESTS_WD=\"`pwd`\" \
34-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet_cxx\" \
35-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eet_cxx\" \
36@CHECK_CFLAGS@ \
37@EET_CFLAGS@
38tests_eet_cxx_eet_cxx_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@
39tests_eet_cxx_eet_cxx_suite_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
40
41endif
42endif