forked from enlightenment/efl
elementary: add compile checks for the efl_ui.h header
Summary: we should check if the header actaully compiles without the beta defines. Depends on D8342 Reviewers: zmike, segfaultxavi Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8343
This commit is contained in:
parent
72b866b8b2
commit
cdd134a3a0
|
@ -0,0 +1,13 @@
|
||||||
|
#undef EFL_BETA_API_SUPPORT
|
||||||
|
#undef EFL_EO_API_SUPPORT
|
||||||
|
#define EFL_NOLEGACY_API_SUPPORT
|
||||||
|
|
||||||
|
#include <Efl_Ui.h>
|
||||||
|
|
||||||
|
EAPI_MAIN void
|
||||||
|
efl_main(void *data EINA_UNUSED,
|
||||||
|
const Efl_Event *ev EINA_UNUSED)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
EFL_MAIN()
|
|
@ -149,6 +149,11 @@ efl_ui_suite = executable('efl_ui_suite',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
efl_ui_compile_test = executable('efl_ui_compile_test',
|
||||||
|
'efl_ui_compile_test.c',
|
||||||
|
dependencies: [elementary, eio],
|
||||||
|
)
|
||||||
|
|
||||||
test('elementary-suite', elementary_suite,
|
test('elementary-suite', elementary_suite,
|
||||||
env : test_env
|
env : test_env
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue