summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:24:00 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:29:20 -0200
commit205348383cd79abf65fc7b473129f17c71e636f5 (patch)
tree8afc7f7135f764e52636dd4002b3319a140740da
parentc1b2701770bcccfc9ec95e07cb0561a0ff581620 (diff)
cmake: add efl library.
still no tests and no binaries, but compiles the interfaces required by other libraries such as ecore.
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/lib/efl/CMakeLists-Config.txt9
-rw-r--r--src/lib/efl/CMakeLists.txt95
3 files changed, 95 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1d5dba..8fb13c9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,7 @@ include(${CMAKE_SOURCE_DIR}/cmake/config/common.cmake)
34EFL_LIB(eina) 34EFL_LIB(eina)
35EFL_LIB(eolian) 35EFL_LIB(eolian)
36EFL_LIB(eo) 36EFL_LIB(eo)
37EFL_LIB(efl)
37 38
38EFL_OPTIONS_SUMMARY() 39EFL_OPTIONS_SUMMARY()
39 40
diff --git a/src/lib/efl/CMakeLists-Config.txt b/src/lib/efl/CMakeLists-Config.txt
deleted file mode 100644
index 5518815..0000000
--- a/src/lib/efl/CMakeLists-Config.txt
+++ /dev/null
@@ -1,9 +0,0 @@
1#TODO ask for api mode
2set(EFL_NOLEGACY_API_SUPPORT 1)
3set(EFL_EO_API_SUPPORT 1)
4
5set(EFL_VERSION_MAJOR 1)
6set(EFL_VERSION_MINOR 19)
7set(EFL_BUILD_ID 120)
8
9configure_file(Efl_Config.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/Efl_Config.h) \ No newline at end of file
diff --git a/src/lib/efl/CMakeLists.txt b/src/lib/efl/CMakeLists.txt
index 3dfdde6..359c3f2 100644
--- a/src/lib/efl/CMakeLists.txt
+++ b/src/lib/efl/CMakeLists.txt
@@ -1 +1,94 @@
1include(CMakeLists-Config.txt) \ No newline at end of file 1set(DESCRIPTION "EFL's general purpose library")
2
3set(LIBRARIES eo eina)
4
5set(PUBLIC_EO_FILES
6 interfaces/efl_animator.eo
7 interfaces/efl_canvas.eo
8 interfaces/efl_config.eo
9 interfaces/efl_container.eo
10 interfaces/efl_control.eo
11 interfaces/efl_file.eo
12 interfaces/efl_flipable.eo
13 interfaces/efl_gfx.eo
14 interfaces/efl_gfx_buffer.eo
15 interfaces/efl_gfx_fill.eo
16 interfaces/efl_gfx_filter.eo
17 interfaces/efl_gfx_gradient.eo
18 interfaces/efl_gfx_gradient_linear.eo
19 interfaces/efl_gfx_gradient_radial.eo
20 interfaces/efl_gfx_path.eo
21 interfaces/efl_gfx_shape.eo
22 interfaces/efl_gfx_size_hint.eo
23 interfaces/efl_gfx_stack.eo
24 interfaces/efl_gfx_types.eot
25 interfaces/efl_gfx_view.eo
26 interfaces/efl_image.eo
27 interfaces/efl_image_animated.eo
28 interfaces/efl_image_load.eo
29 interfaces/efl_input_device.eo
30 interfaces/efl_input_types.eot
31 interfaces/efl_io_buffer.eo
32 interfaces/efl_io_closer.eo
33 interfaces/efl_io_positioner.eo
34 interfaces/efl_io_queue.eo
35 interfaces/efl_io_reader.eo
36 interfaces/efl_io_sizer.eo
37 interfaces/efl_io_writer.eo
38 interfaces/efl_model.eo
39 interfaces/efl_observable.eo
40 interfaces/efl_observer.eo
41 interfaces/efl_orientation.eo
42 interfaces/efl_pack.eo
43 interfaces/efl_pack_grid.eo
44 interfaces/efl_pack_layout.eo
45 interfaces/efl_pack_linear.eo
46 interfaces/efl_part.eo
47 interfaces/efl_player.eo
48 interfaces/efl_screen.eo
49 interfaces/efl_text.eo
50 interfaces/efl_text_properties.eo
51 interfaces/efl_text_types.eot
52 interfaces/efl_types.eot
53 interfaces/efl_ui_item.eo
54 interfaces/efl_ui_menu.eo
55 interfaces/efl_ui_progress.eo
56 interfaces/efl_ui_spin.eo
57 interfaces/efl_vpath.eo
58 interfaces/efl_vpath_core.eo
59 interfaces/efl_vpath_file.eo
60 interfaces/efl_vpath_file_core.eo
61 interfaces/efl_vpath_manager.eo
62)
63
64set(PUBLIC_HEADERS
65 Efl.h
66 Efl_Config.h
67 Efl_Model_Common.h
68 interfaces/efl_common_internal.h
69)
70
71set(SOURCES
72 interfaces/efl_interfaces_main.c
73 interfaces/efl_model_common.c
74 interfaces/efl_gfx_path.c
75 interfaces/efl_gfx_shape.c
76 interfaces/efl_vpath_file.c
77 interfaces/efl_vpath_manager.c
78 interfaces/efl_vpath_core.c
79 interfaces/efl_vpath_file_core.c
80 interfaces/efl_input_device.c
81 interfaces/efl_io_closer.c
82 interfaces/efl_io_positioner.c
83 interfaces/efl_io_reader.c
84 interfaces/efl_io_sizer.c
85 interfaces/efl_io_writer.c
86 interfaces/efl_io_buffer.c
87 interfaces/efl_io_queue.c
88 interfaces/efl_observer.c
89)
90
91set(DEFINITIONS -DEFL_GFX_FILTER_BETA)
92
93# XXX HACK: interfaces/efl_canvas.eo refers to Efl.Input.Focus!
94set(EOLIAN_EXTRA_PARAMS -I${CMAKE_SOURCE_DIR}/src/lib/evas/canvas)