cmake: add ecore_file.

This commit is contained in:
Gustavo Sverzut Barbieri 2017-02-02 17:04:44 -02:00
parent 5fcdfa96aa
commit a679c4a322
3 changed files with 31 additions and 0 deletions

View File

@ -47,6 +47,7 @@ EFL_LIB(eet)
EFL_LIB(ecore)
EFL_LIB(ecore_con)
EFL_LIB(ecore_ipc)
EFL_LIB(ecore_file)
EFL_LIB(eldbus)
EFL_LIB(embryo)
EFL_LIB(ector)

View File

@ -46,6 +46,7 @@ HEADER_CHECK(mcheck.h)
HEADER_CHECK(netinet/in.h)
HEADER_CHECK(stdlib.h)
HEADER_CHECK(sys/auxv.h)
HEADER_CHECK(sys/inotify.h)
HEADER_CHECK(sys/ioctl.h)
HEADER_CHECK(sys/mman.h)
HEADER_CHECK(sys/types.h)

View File

@ -0,0 +1,29 @@
set(DESCRIPTION "E core library, File module")
set(LIBRARIES
ecore
ecore_con
efl
eina
eo
)
set(PUBLIC_HEADERS
Ecore_File.h
)
set(SOURCES
ecore_file.c
ecore_file_download.c
ecore_file_monitor.c
ecore_file_path.c
ecore_file_private.h
)
if(HAVE_SYS_INOTIFY_H)
list(APPEND SOURCES ecore_file_monitor_inotify.c)
elseif(WINDOWS)
list(APPEND SOURCES ecore_file_monitor_win32.c)
else()
list(APPEND SOURCES ecore_file_monitor_poll.c)
endif()