summaryrefslogtreecommitdiff
path: root/.ci/example
diff options
context:
space:
mode:
Diffstat (limited to '.ci/example')
-rw-r--r--.ci/example/meson.build13
-rw-r--r--.ci/example/src/main.c11
-rw-r--r--.ci/example/src/meson.build12
3 files changed, 36 insertions, 0 deletions
diff --git a/.ci/example/meson.build b/.ci/example/meson.build
new file mode 100644
index 0000000000..b3d698afc0
--- /dev/null
+++ b/.ci/example/meson.build
@@ -0,0 +1,13 @@
1project(
2 'efl-example', 'c',
3 version : '0.0.1',
4 default_options: [ 'c_std=gnu99', 'warning_level=2' ],
5 meson_version : '>= 0.38.0')
6
7eina = dependency('eina', version : '>=1.20.99')
8efl = dependency('efl-ui', version : '>=1.20.99')
9elm = dependency('elementary', version : '>=1.20.99')
10
11inc = include_directories('.')
12subdir('src')
13
diff --git a/.ci/example/src/main.c b/.ci/example/src/main.c
new file mode 100644
index 0000000000..1d1230e496
--- /dev/null
+++ b/.ci/example/src/main.c
@@ -0,0 +1,11 @@
1#define EFL_BETA_API_SUPPORT 1
2#define EFL_NOLEGACY_API_SUPPORT
3#include <Efl_Ui.h>
4
5
6EAPI_MAIN void
7efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
8{
9 return 0;
10}
11EFL_MAIN()
diff --git a/.ci/example/src/meson.build b/.ci/example/src/meson.build
new file mode 100644
index 0000000000..47673e9145
--- /dev/null
+++ b/.ci/example/src/meson.build
@@ -0,0 +1,12 @@
1src = files([
2 'main.c',
3])
4
5deps = [eina, efl, elm]
6
7executable('efl_example', src,
8 dependencies : deps,
9 include_directories : inc,
10 install : true
11)
12