2018-08-12 06:26:29 -07:00
|
|
|
ecore_file_deps = [ecore_con, ecore]
|
|
|
|
ecore_file_pub_deps = [eina]
|
2020-05-10 05:41:57 -07:00
|
|
|
ecore_file_ext_deps = []
|
2018-08-12 06:26:29 -07:00
|
|
|
|
2020-05-10 05:41:57 -07:00
|
|
|
ecore_file_src = files([
|
2018-08-12 06:26:29 -07:00
|
|
|
'ecore_file.c',
|
|
|
|
'ecore_file_download.c',
|
|
|
|
'ecore_file_monitor.c',
|
|
|
|
'ecore_file_path.c',
|
|
|
|
'ecore_file_private.h'
|
2020-05-10 05:41:57 -07:00
|
|
|
])
|
2018-08-12 06:26:29 -07:00
|
|
|
|
2018-10-04 09:29:56 -07:00
|
|
|
if sys_windows == true
|
2020-05-10 05:41:57 -07:00
|
|
|
ecore_file_src += files([ 'ecore_file_monitor_win32.c'])
|
2019-03-03 07:30:53 -08:00
|
|
|
elif sys_linux == true
|
2020-05-10 05:41:57 -07:00
|
|
|
ecore_file_src += files([ 'ecore_file_monitor_inotify.c'])
|
ecore_file_monitor: add kevent backend.
Summary:
This is a very simple kevent backend, very similar to the eio_monitor
implementation. On BSD systems, some core features within in E and
other applications are always using the poll engine, which is not
ideal. This is better, and simpler.
Reviewers: devilhorns, raster, bu5hm4n, vtorri
Reviewed By: vtorri
Subscribers: vtorri, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12239
2021-01-31 06:45:46 -08:00
|
|
|
elif sys_bsd == true
|
|
|
|
ecore_file_src += files([ 'ecore_file_monitor_kevent.c'])
|
2018-08-12 06:26:29 -07:00
|
|
|
else
|
2020-05-10 05:41:57 -07:00
|
|
|
ecore_file_src += files([ 'ecore_file_monitor_poll.c'])
|
2018-08-12 06:26:29 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
ecore_file_header_src = ['Ecore_File.h']
|
|
|
|
|
|
|
|
|
|
|
|
ecore_file_lib = library('ecore_file',
|
|
|
|
ecore_file_src,
|
2020-05-18 08:46:55 -07:00
|
|
|
c_args : package_c_args,
|
2020-05-10 05:41:57 -07:00
|
|
|
dependencies: ecore_file_deps + ecore_file_pub_deps + ecore_file_ext_deps,
|
2018-08-12 06:26:29 -07:00
|
|
|
include_directories : config_dir + [include_directories(join_paths('..','..'))],
|
|
|
|
install: true,
|
|
|
|
version : meson.project_version()
|
|
|
|
)
|
|
|
|
|
|
|
|
ecore_file = declare_dependency(
|
|
|
|
include_directories: [include_directories('.')],
|
|
|
|
link_with: ecore_file_lib,
|
|
|
|
dependencies: ecore_file_pub_deps,
|
|
|
|
)
|
|
|
|
|
|
|
|
install_headers(ecore_file_header_src,
|
|
|
|
install_dir : dir_package_include,
|
|
|
|
)
|