summaryrefslogtreecommitdiff
path: root/src/lib/eeze
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-03 10:39:23 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-03 10:59:04 +0100
commit3c0fe3ca3cda11a15e5652f8a6c0109d148d8fb6 (patch)
tree230b978d9b106ea433aa443c90fb0a8ec0b8fcb7 /src/lib/eeze
parent94ddd709dbae52a729179d8ad7ac4f8b06845ea3 (diff)
cmake: add eeze
there is currently a bug in the testsuite which needs to change, otherwise modules cannot be loaded. The code acutally runs when its installed and EFL_RUN_IN_TREE is not set.
Diffstat (limited to 'src/lib/eeze')
-rw-r--r--src/lib/eeze/CMakeLists.txt67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/lib/eeze/CMakeLists.txt b/src/lib/eeze/CMakeLists.txt
new file mode 100644
index 0000000000..c9aa9e0147
--- /dev/null
+++ b/src/lib/eeze/CMakeLists.txt
@@ -0,0 +1,67 @@
1set(DESCRIPTION "Ecore event abstraction library")
2
3set(PUBLIC_LIBRARIES
4 eina
5 ecore
6)
7
8set(LIBRARIES
9 eo
10 efl
11 ecore_con
12 ecore_file
13 eet
14 emile
15)
16
17set(PKG_CONFIG_REQUIRES_PRIVATE
18 libudev
19)
20
21
22if (${HAVE_EEZE_MOUNT})
23 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE mount)
24endif()
25
26if (${ENABLE_TIZEN})
27 list(APPEND PKG_CONFIG_REQUIRES_PRIVATE capi-system-sensor)
28endif()
29
30
31set(PUBLIC_HEADERS
32 Eeze.h
33 Eeze_Disk.h
34 Eeze_Net.h
35 Eeze_Sensor.h
36)
37
38set(SOURCES
39 eeze_disk.c
40 eeze_disk_mount.c
41 eeze_disk_private.h
42 eeze_disk_udev.c
43 eeze_main.c
44 eeze_net.c
45 eeze_net_private.h
46 eeze_sensor.c
47 eeze_sensor_private.h
48 eeze_udev_find.c
49 eeze_udev_private.c
50 eeze_udev_private.h
51 eeze_udev_syspath.c
52 eeze_udev_walk.c
53 eeze_udev_watch.c
54)
55
56#mount files
57if(${HAVE_EEZE_MOUNT})
58 if (${MOUNT_VERSION} LESS 2.19.0)
59 list(APPEND SOURCES eeze_disk_libmount_old.c)
60 elseif (${MOUNT_VERSION} GREATER 2.19.0)
61 list(APPEND SOURCES eeze_disk_libmount_new.c)
62 else()
63 list(APPEND SOURCES eeze_disk_libmount.c)
64 endif()
65else()
66 list(APPEND SOURCES eeze_disk_dummy.c)
67endif()