diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2017-01-18 22:25:02 -0200 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2017-01-18 22:47:04 -0200 |
commit | a1f2db255b22052050baf0c04bb72146b22a6e99 (patch) | |
tree | 8499c057a7a0054f75fe3ab4719b2cc3659949d5 /src/Makefile_Eolian_Cxx.am | |
parent | 7f148feea8275d4ae3a366e5aead8170498089a6 (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 '')
-rw-r--r-- | src/Makefile_Eolian_Cxx.am | 15 |
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 \ | |||
145 | tests/eolian_cxx/name1_name2_type_generation.eo.hh \ | 145 | tests/eolian_cxx/name1_name2_type_generation.eo.hh \ |
146 | tests/eolian_cxx/name1_name2_type_generation.eo.impl.hh \ | 146 | tests/eolian_cxx/name1_name2_type_generation.eo.impl.hh \ |
147 | tests/eolian_cxx/name1_name2_type_generation.eo.h \ | 147 | tests/eolian_cxx/name1_name2_type_generation.eo.h \ |
148 | tests/eolian_cxx/name1_name2_type_generation.eo.c | 148 | tests/eolian_cxx/name1_name2_type_generation.eo.c \ |
149 | 149 | tests/eolian_cxx/cyclic1.eo.c \ | |
150 | tests/eolian_cxx/cyclic1.eo.h \ | ||
151 | tests/eolian_cxx/cyclic1.eo.hh \ | ||
152 | tests/eolian_cxx/cyclic1.eo.impl.hh \ | ||
153 | tests/eolian_cxx/cyclic2.eo.c \ | ||
154 | tests/eolian_cxx/cyclic2.eo.h \ | ||
155 | tests/eolian_cxx/cyclic2.eo.hh \ | ||
156 | tests/eolian_cxx/cyclic2.eo.impl.hh | ||
150 | 157 | ||
151 | tests_eolian_cxx_eolian_cxx_suite_CXXFLAGS = \ | 158 | tests_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 \ | |||
181 | tests/eolian_cxx/ns_name.eo \ | 188 | tests/eolian_cxx/ns_name.eo \ |
182 | tests/eolian_cxx/ns_name_other.eo \ | 189 | tests/eolian_cxx/ns_name_other.eo \ |
183 | tests/eolian_cxx/name1_name2_type_generation.eo \ | 190 | tests/eolian_cxx/name1_name2_type_generation.eo \ |
184 | tests/eolian_cxx/complex.eo | 191 | tests/eolian_cxx/complex.eo \ |
192 | tests/eolian_cxx/cyclic1.eo \ | ||
193 | tests/eolian_cxx/cyclic2.eo | ||
185 | 194 | ||
186 | include Makefile_Eolian_Cxx_Helper.am | 195 | include Makefile_Eolian_Cxx_Helper.am |
187 | 196 | ||