From a679c4a3223fe99dddb3f10e086760f517fcf1bc Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Thu, 2 Feb 2017 17:04:44 -0200 Subject: cmake: add ecore_file. --- src/lib/ecore_file/CMakeLists.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/lib/ecore_file/CMakeLists.txt (limited to 'src/lib/ecore_file/CMakeLists.txt') 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 @@ +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() -- cgit v1.2.1