summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:26:02 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-25 19:29:20 -0200
commitf9589211772c8b47765795157f4c9288b00b0aa5 (patch)
tree8da05b325204659e31aa50e897ee48352f9c1865 /src
parent205348383cd79abf65fc7b473129f17c71e636f5 (diff)
cmake: add ecore.
no tests or modules (which depend on eldbus).
Diffstat (limited to '')
-rw-r--r--src/lib/ecore/CMakeLists.txt96
-rw-r--r--src/modules/ecore/system/tizen/CMakeLists.txt3
2 files changed, 99 insertions, 0 deletions
diff --git a/src/lib/ecore/CMakeLists.txt b/src/lib/ecore/CMakeLists.txt
new file mode 100644
index 0000000000..0425ce9833
--- /dev/null
+++ b/src/lib/ecore/CMakeLists.txt
@@ -0,0 +1,96 @@
1set(DESCRIPTION "Ecore event abstraction library")
2
3set(PUBLIC_LIBRARIES
4 efl
5 eina
6 eo
7)
8
9set(LIBRARIES
10 m
11)
12
13if(ENABLE_SYSTEMD)
14 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE libsystemd)
15endif()
16
17if(ENABLE_GLIB)
18 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE glib-2.0 gthread-2.0)
19endif()
20
21set(PUBLIC_EO_FILES
22 ecore_exe.eo
23 ecore_poller.eo
24 ecore_types.eot
25 efl_io_buffered_stream.eo
26 efl_io_closer_fd.eo
27 efl_io_copier.eo
28 efl_io_file.eo
29 efl_io_positioner_fd.eo
30 efl_io_reader_fd.eo
31 efl_io_sizer_fd.eo
32 efl_io_stderr.eo
33 efl_io_stdin.eo
34 efl_io_stdout.eo
35 efl_io_writer_fd.eo
36 efl_loop.eo
37 efl_loop_fd.eo
38 efl_loop_timer.eo
39 efl_loop_user.eo
40 efl_promise.eo
41)
42
43set(PUBLIC_HEADERS
44 Ecore.h
45 Ecore_Common.h
46 Ecore_Eo.h
47 Ecore_Getopt.h
48 Ecore_Legacy.h
49)
50
51set(SOURCES
52 ecore.c
53 ecore_alloc.c
54 ecore_anim.c
55 ecore_app.c
56 ecore_events.c
57 ecore_exe.c
58 ecore_exe_private.h
59 ecore_getopt.c
60 ecore_glib.c
61 ecore_idle_enterer.c
62 ecore_idle_exiter.c
63 ecore_idler.c
64 ecore_internal.h
65 ecore_job.c
66 ecore_main.c
67 ecore_pipe.c
68 ecore_poller.c
69 ecore_private.h
70 ecore_thread.c
71 ecore_throttle.c
72 ecore_time.c
73 ecore_timer.c
74 efl_io_buffered_stream.c
75 efl_io_closer_fd.c
76 efl_io_copier.c
77 efl_io_file.c
78 efl_io_positioner_fd.c
79 efl_io_reader_fd.c
80 efl_io_sizer_fd.c
81 efl_io_stderr.c
82 efl_io_stdin.c
83 efl_io_stdout.c
84 efl_io_writer_fd.c
85 efl_loop_fd.c
86 efl_loop_user.c
87 efl_promise.c
88)
89
90# TODO: win32
91# TODO: ps3
92
93list(APPEND SOURCES
94 ecore_exe_posix.c
95 ecore_signal.c
96)
diff --git a/src/modules/ecore/system/tizen/CMakeLists.txt b/src/modules/ecore/system/tizen/CMakeLists.txt
new file mode 100644
index 0000000000..e185f39ec9
--- /dev/null
+++ b/src/modules/ecore/system/tizen/CMakeLists.txt
@@ -0,0 +1,3 @@
1set(PKG_CONFIG_REQUIRES_PRIVATE vconf)
2
3set(SOURCES ecore_system_tizen.c)