forked from enlightenment/efl
cmake: add ecore_file.
This commit is contained in:
parent
5fcdfa96aa
commit
a679c4a322
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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()
|
Loading…
Reference in New Issue