summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 22:25:02 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-01-18 22:47:04 -0200
commita1f2db255b22052050baf0c04bb72146b22a6e99 (patch)
tree8499c057a7a0054f75fe3ab4719b2cc3659949d5 /src/Makefile_Eolian_Cxx.am
parent7f148feea8275d4ae3a366e5aead8170498089a6 (diff)
cxx: Modify how to generate C++ headers and allow cyclic dependencies
Allow cyclic dependencies in generated C++ headers by changing order of includes and creating forward declarations.
Diffstat (limited to 'src/Makefile_Eolian_Cxx.am')
-rw-r--r--src/Makefile_Eolian_Cxx.am15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Makefile_Eolian_Cxx.am b/src/Makefile_Eolian_Cxx.am
index 6d0ae1d73e..6abb3d6a40 100644
--- a/src/Makefile_Eolian_Cxx.am
+++ b/src/Makefile_Eolian_Cxx.am
@@ -145,8 +145,15 @@ tests/eolian_cxx/complex.eo.impl.hh \
145tests/eolian_cxx/name1_name2_type_generation.eo.hh \ 145tests/eolian_cxx/name1_name2_type_generation.eo.hh \
146tests/eolian_cxx/name1_name2_type_generation.eo.impl.hh \ 146tests/eolian_cxx/name1_name2_type_generation.eo.impl.hh \
147tests/eolian_cxx/name1_name2_type_generation.eo.h \ 147tests/eolian_cxx/name1_name2_type_generation.eo.h \
148tests/eolian_cxx/name1_name2_type_generation.eo.c 148tests/eolian_cxx/name1_name2_type_generation.eo.c \
149 149tests/eolian_cxx/cyclic1.eo.c \
150tests/eolian_cxx/cyclic1.eo.h \
151tests/eolian_cxx/cyclic1.eo.hh \
152tests/eolian_cxx/cyclic1.eo.impl.hh \
153tests/eolian_cxx/cyclic2.eo.c \
154tests/eolian_cxx/cyclic2.eo.h \
155tests/eolian_cxx/cyclic2.eo.hh \
156tests/eolian_cxx/cyclic2.eo.impl.hh
150 157
151tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ 158tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \
152-I$(top_builddir)/src/lib/efl \ 159-I$(top_builddir)/src/lib/efl \
@@ -181,7 +188,9 @@ tests/eolian_cxx/name_name.eo \
181tests/eolian_cxx/ns_name.eo \ 188tests/eolian_cxx/ns_name.eo \
182tests/eolian_cxx/ns_name_other.eo \ 189tests/eolian_cxx/ns_name_other.eo \
183tests/eolian_cxx/name1_name2_type_generation.eo \ 190tests/eolian_cxx/name1_name2_type_generation.eo \
184tests/eolian_cxx/complex.eo 191tests/eolian_cxx/complex.eo \
192tests/eolian_cxx/cyclic1.eo \
193tests/eolian_cxx/cyclic2.eo
185 194
186include Makefile_Eolian_Cxx_Helper.am 195include Makefile_Eolian_Cxx_Helper.am
187 196