summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-02 17:04:44 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-02 17:15:31 -0200
commita679c4a3223fe99dddb3f10e086760f517fcf1bc (patch)
tree99a13611d490bd9bb75bb62f8989ac4b53896785
parent5fcdfa96aac5fbf3b6a16c3180ea59dcc9dd8c7c (diff)
cmake: add ecore_file.
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt1
-rw-r--r--cmake/config/common.cmake1
-rw-r--r--src/lib/ecore_file/CMakeLists.txt29
3 files changed, 31 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8cae20d6e6..8b3ef34bf1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ EFL_LIB(eet)
47EFL_LIB(ecore) 47EFL_LIB(ecore)
48EFL_LIB(ecore_con) 48EFL_LIB(ecore_con)
49EFL_LIB(ecore_ipc) 49EFL_LIB(ecore_ipc)
50EFL_LIB(ecore_file)
50EFL_LIB(eldbus) 51EFL_LIB(eldbus)
51EFL_LIB(embryo) 52EFL_LIB(embryo)
52EFL_LIB(ector) 53EFL_LIB(ector)
diff --git a/cmake/config/common.cmake b/cmake/config/common.cmake
index 96b105c6c0..41d480d2d0 100644
--- a/cmake/config/common.cmake
+++ b/cmake/config/common.cmake
@@ -46,6 +46,7 @@ HEADER_CHECK(mcheck.h)
46HEADER_CHECK(netinet/in.h) 46HEADER_CHECK(netinet/in.h)
47HEADER_CHECK(stdlib.h) 47HEADER_CHECK(stdlib.h)
48HEADER_CHECK(sys/auxv.h) 48HEADER_CHECK(sys/auxv.h)
49HEADER_CHECK(sys/inotify.h)
49HEADER_CHECK(sys/ioctl.h) 50HEADER_CHECK(sys/ioctl.h)
50HEADER_CHECK(sys/mman.h) 51HEADER_CHECK(sys/mman.h)
51HEADER_CHECK(sys/types.h) 52HEADER_CHECK(sys/types.h)
diff --git a/src/lib/ecore_file/CMakeLists.txt b/src/lib/ecore_file/CMakeLists.txt
new file mode 100644
index 0000000000..fbee450a55
--- /dev/null
+++ b/src/lib/ecore_file/CMakeLists.txt
@@ -0,0 +1,29 @@
1set(DESCRIPTION "E core library, File module")
2
3set(LIBRARIES
4 ecore
5 ecore_con
6 efl
7 eina
8 eo
9)
10
11set(PUBLIC_HEADERS
12 Ecore_File.h
13)
14
15set(SOURCES
16 ecore_file.c
17 ecore_file_download.c
18 ecore_file_monitor.c
19 ecore_file_path.c
20 ecore_file_private.h
21)
22
23if(HAVE_SYS_INOTIFY_H)
24 list(APPEND SOURCES ecore_file_monitor_inotify.c)
25elseif(WINDOWS)
26 list(APPEND SOURCES ecore_file_monitor_win32.c)
27else()
28 list(APPEND SOURCES ecore_file_monitor_poll.c)
29endif()