[evolution/wip/cmake] modules directory
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/cmake] modules directory
- Date: Mon, 3 Oct 2016 21:32:43 +0000 (UTC)
commit b51ec85fdedef71469babdac09ca3241cb8e52de
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 3 23:23:40 2016 +0200
modules directory
CMakeLists.txt | 10 ++-
cmake/modules/FindLDAP.cmake | 8 +-
modules/CMakeLists.txt | 132 ++++++++++++++++++++
modules/addressbook/CMakeLists.txt | 67 ++++++++++
modules/backup-restore/CMakeLists.txt | 79 ++++++++++++
modules/bogofilter/CMakeLists.txt | 23 ++++
modules/book-config-google/CMakeLists.txt | 17 +++
modules/book-config-ldap/CMakeLists.txt | 23 ++++
modules/book-config-local/CMakeLists.txt | 17 +++
modules/book-config-webdav/CMakeLists.txt | 17 +++
modules/cal-config-caldav/CMakeLists.txt | 17 +++
modules/cal-config-contacts/CMakeLists.txt | 19 +++
modules/cal-config-google/CMakeLists.txt | 22 ++++
modules/cal-config-local/CMakeLists.txt | 17 +++
modules/cal-config-weather/CMakeLists.txt | 23 ++++
modules/cal-config-webcal/CMakeLists.txt | 17 +++
modules/calendar/CMakeLists.txt | 87 +++++++++++++
modules/composer-autosave/CMakeLists.txt | 26 ++++
modules/contact-photos/CMakeLists.txt | 21 +++
modules/gravatar/CMakeLists.txt | 21 +++
modules/itip-formatter/CMakeLists.txt | 36 ++++++
.../itip-formatter/web-extension/CMakeLists.txt | 20 +++
modules/mail-config/CMakeLists.txt | 30 +++++
modules/mail/CMakeLists.txt | 48 +++++++
modules/mailto-handler/CMakeLists.txt | 19 +++
modules/mdn/CMakeLists.txt | 23 ++++
modules/offline-alert/CMakeLists.txt | 21 +++
modules/plugin-lib/CMakeLists.txt | 22 ++++
modules/plugin-manager/CMakeLists.txt | 19 +++
modules/prefer-plain/CMakeLists.txt | 27 ++++
modules/prefer-plain/plugin/CMakeLists.txt | 44 +++++++
modules/settings/CMakeLists.txt | 61 +++++++++
modules/spamassassin/CMakeLists.txt | 23 ++++
modules/startup-wizard/CMakeLists.txt | 28 ++++
modules/text-highlight/CMakeLists.txt | 29 +++++
modules/tnef-attachment/CMakeLists.txt | 24 ++++
modules/vcard-inline/CMakeLists.txt | 29 +++++
modules/webkit-editor/CMakeLists.txt | 25 ++++
modules/webkit-editor/web-extension/CMakeLists.txt | 30 +++++
modules/webkit-inspector/CMakeLists.txt | 17 +++
40 files changed, 1232 insertions(+), 6 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da035d6..3eb340f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -381,7 +381,9 @@ endif(ENABLE_LIBCRYPTUI)
# ******************************
set(HAVE_LIBYTNEF_YTNEF_H OFF)
+set(TNEF_LDFLAGS -lytnef)
+set(CMAKE_REQUIRED_LIBRARIES ${TNEF_LDFLAGS})
CHECK_C_SOURCE_COMPILES("#include <stdio.h>
#include <ytnef.h>
int main(void) { TNEFStruct *tnef; return 0; }" HAVE_YTNEF_H)
@@ -391,9 +393,13 @@ if(NOT HAVE_YTNEF_H)
#include <libytnef/ytnef.h>
int main(void) { TNEFStruct *tnef; return 0; }" HAVE_LIBYTNEF_YTNEF_H)
endif(NOT HAVE_YTNEF_H)
+unset(CMAKE_REQUIRED_LIBRARIES)
if(HAVE_YTNEF_H OR HAVE_LIBYTNEF_YTNEF_H)
set(HAVE_TNEF ON)
+else(HAVE_YTNEF_H OR HAVE_LIBYTNEF_YTNEF_H)
+ set(HAVE_TNEF OFF)
+ set(TNEF_LDFLAGS)
endif(HAVE_YTNEF_H OR HAVE_LIBYTNEF_YTNEF_H)
# ******************************
@@ -571,7 +577,7 @@ set(plugins_standard
# They must be explicitly disabled if the libraries are not present.
# ******************************************************************
-# test-highlight
+# text-highlight
add_printable_option(ENABLE_TEXT_HIGHLIGHT "Enable text-highlight plugin" ON)
@@ -664,7 +670,7 @@ add_subdirectory(calendar)
add_subdirectory(art)
add_subdirectory(web-extensions)
add_subdirectory(plugins)
-#add_subdirectory(modules)
+add_subdirectory(modules)
#add_subdirectory(doc)
#add_subdirectory(ui)
#add_subdirectory(views)
diff --git a/cmake/modules/FindLDAP.cmake b/cmake/modules/FindLDAP.cmake
index 73c0d31..bc3bf86 100644
--- a/cmake/modules/FindLDAP.cmake
+++ b/cmake/modules/FindLDAP.cmake
@@ -13,8 +13,8 @@
# HAVE_LDAP - set to ON, if LDAP support is enabled and libraries found
# SUNLDAP - set to ON, when using SunLDAP implementation
# LDAP_CFLAGS - CFLAGS to use with target_compile_options() and similar commands
-# LDAP_INCLDUE_DIRS - include directories to use with target_include_directories() and similar commands
-# LDAP_LDFLAGS - LDFLAGS to use with target_link_libraries() and similar commands
+# LDAP_INCLUDE_DIRS - include directories to use with target_include_directories() and similar commands
+# LDAP_LIBS - libraries to use with target_link_libraries() and similar commands
include(CheckCSourceCompiles)
include(CheckLibraryExists)
@@ -66,10 +66,10 @@ else(WITH_OPENLDAP)
endif(WITH_OPENLDAP)
set(LDAP_CFLAGS "")
-set(LDAP_INCLUDE_DIRECTORIES "${LDAP_PREFIX}/include")
+set(LDAP_INCLUDE_DIRS "${LDAP_PREFIX}/include")
set(LDAP_LIBS "-L${LDAP_PREFIX}/lib${LIB_SUFFIX}")
-set(CMAKE_REQUIRED_INCLUDES "${LDAP_INCLUDE_DIRECTORIES}")
+set(CMAKE_REQUIRED_INCLUDES "${LDAP_INCLUDE_DIRS}")
set(CMAKE_REQUIRED_LIBRARIES "${LDAP_LIBS}")
if(WITH_OPENLDAP)
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
new file mode 100644
index 0000000..b6b8e7d
--- /dev/null
+++ b/modules/CMakeLists.txt
@@ -0,0 +1,132 @@
+macro(add_simple_module _name _sourcesvar _depsvar _defsvar _cflagsvar _incdirsvar _ldflagsvar _destination)
+ set(DEPENDENCIES
+ evolution-util
+ )
+
+ set(SOURCES
+ ${${_sourcesvar}}
+ )
+
+ add_library(${_name} MODULE
+ ${SOURCES}
+ )
+
+ set_target_properties(${_name} PROPERTIES
+ PREFIX ""
+ )
+
+ add_dependencies(${_name}
+ ${DEPENDENCIES}
+ ${${_depsvar}}
+ )
+
+ target_compile_definitions(${_name} PRIVATE
+ -DG_LOG_DOMAIN=\"${_name}\"
+ ${${_defsvar}}
+ )
+
+ target_compile_options(${_name} PUBLIC
+ ${EVOLUTION_DATA_SERVER_CFLAGS}
+ ${GNOME_PLATFORM_CFLAGS}
+ ${${_cflagsvar}}
+ )
+
+ target_include_directories(${_name} PUBLIC
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${EVOLUTION_DATA_SERVER_INCLUDE_DIRS}
+ ${GNOME_PLATFORM_INCLUDE_DIRS}
+ ${${_incdirsvar}}
+ )
+
+ target_link_libraries(${_name}
+ ${DEPENDENCIES}
+ ${${_depsvar}}
+ ${EVOLUTION_DATA_SERVER_LDFLAGS}
+ ${GNOME_PLATFORM_LDFLAGS}
+ ${${_ldflagsvar}}
+ )
+
+ install(TARGETS ${_name}
+ DESTINATION ${_destination}
+ )
+endmacro(add_simple_module)
+
+macro(add_evolution_module _name _sourcesvar _depsvar _defsvar _cflagsvar _incdirsvar _ldflagsvar)
+ add_simple_module(${_name} ${_sourcesvar} ${_depsvar} ${_defsvar} ${_cflagsvar} ${_incdirsvar}
${_ldflagsvar} ${moduledir})
+endmacro(add_evolution_module)
+
+macro(add_webextension_module _name _sourcesvar _depsvar _defsvar _cflagsvar _incdirsvar _ldflagsvar)
+ set(wex_deps
+ ${${_depsvar}}
+ edomutils
+ )
+ set(wex_cflags
+ ${${_cflagsvar}}
+ ${WEB_EXTENSIONS_CFLAGS}
+ )
+ set(wex_incdirs
+ ${${_incdirsvar}}
+ ${WEB_EXTENSIONS_INCLUDE_DIRS}
+ )
+ set(wex_ldflags
+ ${${_ldflagsvar}}
+ ${WEB_EXTENSIONS_LDFLAGS}
+ )
+
+ add_simple_module(${_name} ${_sourcesvar} wex_deps ${_defsvar} wex_cflags wex_incdirs wex_ldflags
${webextensionsdir})
+endmacro(add_webextension_module)
+
+add_subdirectory(addressbook)
+add_subdirectory(calendar)
+add_subdirectory(mail)
+add_subdirectory(backup-restore)
+add_subdirectory(book-config-google)
+add_subdirectory(book-config-local)
+add_subdirectory(book-config-webdav)
+add_subdirectory(cal-config-caldav)
+add_subdirectory(cal-config-contacts)
+add_subdirectory(cal-config-google)
+add_subdirectory(cal-config-local)
+add_subdirectory(cal-config-webcal)
+add_subdirectory(composer-autosave)
+add_subdirectory(contact-photos)
+add_subdirectory(gravatar)
+add_subdirectory(itip-formatter)
+add_subdirectory(mail-config)
+add_subdirectory(mailto-handler)
+add_subdirectory(mdn)
+add_subdirectory(offline-alert)
+add_subdirectory(plugin-lib)
+add_subdirectory(plugin-manager)
+add_subdirectory(prefer-plain)
+add_subdirectory(settings)
+add_subdirectory(startup-wizard)
+add_subdirectory(vcard-inline)
+add_subdirectory(webkit-editor)
+add_subdirectory(webkit-inspector)
+
+if(ENABLE_TEXT_HIGHLIGHT)
+ add_subdirectory(text-highlight)
+endif(ENABLE_TEXT_HIGHLIGHT)
+
+if(ENABLE_WEATHER)
+ add_subdirectory(cal-config-weather)
+endif(ENABLE_WEATHER)
+
+if(HAVE_LDAP)
+ add_subdirectory(book-config-ldap)
+endif(HAVE_LDAP)
+
+if(HAVE_TNEF)
+ add_subdirectory(tnef-attachment)
+endif(HAVE_TNEF)
+
+if(WITH_BOGOFILTER)
+ add_subdirectory(bogofilter)
+endif(WITH_BOGOFILTER)
+
+if(WITH_SPAMASSASSIN)
+ add_subdirectory(spamassassin)
+endif(WITH_SPAMASSASSIN)
diff --git a/modules/addressbook/CMakeLists.txt b/modules/addressbook/CMakeLists.txt
new file mode 100644
index 0000000..cdfdd13
--- /dev/null
+++ b/modules/addressbook/CMakeLists.txt
@@ -0,0 +1,67 @@
+set(extra_deps
+ eabutil
+ eabwidgets
+ econtacteditor
+ econtactlisteditor
+ econtactprint
+ evolution-addressbook-importers
+ evolution-mail-composer
+ evolution-shell
+)
+if(ENABLE_SMIME)
+ list(APPEND extra_deps evolution-smime)
+endif(ENABLE_SMIME)
+
+set(sources
+ evolution-module-addressbook.c
+ autocompletion-config.c
+ autocompletion-config.h
+ eab-composer-util.c
+ eab-composer-util.h
+ e-book-config-hook.c
+ e-book-config-hook.h
+ e-book-shell-backend.c
+ e-book-shell-backend.h
+ e-book-shell-content.c
+ e-book-shell-content.h
+ e-book-shell-migrate.c
+ e-book-shell-migrate.h
+ e-book-shell-sidebar.c
+ e-book-shell-sidebar.h
+ e-book-shell-view.c
+ e-book-shell-view.h
+ e-book-shell-view-actions.c
+ e-book-shell-view-actions.h
+ e-book-shell-view-private.c
+ e-book-shell-view-private.h
+)
+set(extra_defines)
+set(extra_cflags
+ ${CHAMPLAIN_CFLAGS}
+ ${LDAP_CFLAGS}
+)
+set(extra_incdirs
+ ${CMAKE_BINARY_DIR}/addressbook/util
+ ${CMAKE_BINARY_DIR}/addressbook/gui/contact-editor
+ ${CMAKE_BINARY_DIR}/addressbook/gui/contact-list-editor
+ ${CMAKE_BINARY_DIR}/addressbook/gui/widgets
+ ${CMAKE_SOURCE_DIR}/addressbook/util
+ ${CMAKE_SOURCE_DIR}/addressbook/gui/contact-editor
+ ${CMAKE_SOURCE_DIR}/addressbook/gui/contact-list-editor
+ ${CMAKE_SOURCE_DIR}/addressbook/gui/widgets
+ ${CHAMPLAIN_INCLUDE_DIRS}
+ ${LDAP_INCLUDE_DIRS}
+)
+set(extra_ldflags
+ ${CHAMPLAIN_LDFLAGS}
+ ${LDAP_LDFLAGS}
+)
+
+add_evolution_module(module-addressbook
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/backup-restore/CMakeLists.txt b/modules/backup-restore/CMakeLists.txt
new file mode 100644
index 0000000..6427f25
--- /dev/null
+++ b/modules/backup-restore/CMakeLists.txt
@@ -0,0 +1,79 @@
+add_error_files(backup-restore org-gnome-backup-restore.error)
+
+set(extra_deps
+ email-engine
+ evolution-mail
+ evolution-shell
+)
+set(sources
+ evolution-backup-restore.c
+ e-mail-config-restore-page.c
+ e-mail-config-restore-page.h
+ e-mail-config-restore-ready-page.c
+ e-mail-config-restore-ready-page.h
+)
+set(extra_defines
+ -DEVOLUTION_LOCALEDIR=\"${LOCALE_INSTALL_DIR}\"
+ -DEVOLUTION_TOOLSDIR=\"${privlibexecdir}\"
+)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-backup-restore
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
+
+# ******************************
+# evolution-backup binary
+# ******************************
+
+set(DEPENDENCIES
+ evolution-util
+)
+
+set(SOURCES
+ evolution-backup-tool.c
+)
+
+add_executable(evolution-backup
+ ${SOURCES}
+)
+
+add_dependencies(evolution-backup
+ ${DEPENDENCIES}
+)
+
+target_compile_definitions(evolution-backup PRIVATE
+ -DG_LOG_DOMAIN=\"evolution-backup\"
+ -DEVOLUTION_LOCALEDIR=\"${LOCALE_INSTALL_DIR}\"
+ -DDBUS_SERVICES_DIR=\"${SHARE_INSTALL_DIR}/dbus-1/services\"
+)
+
+target_compile_options(evolution-backup PUBLIC
+ ${EVOLUTION_DATA_SERVER_CFLAGS}
+ ${GNOME_PLATFORM_CFLAGS}
+)
+
+target_include_directories(evolution-backup PUBLIC
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${EVOLUTION_DATA_SERVER_INCLUDE_DIRS}
+ ${GNOME_PLATFORM_INCLUDE_DIRS}
+)
+
+target_link_libraries(evolution-backup
+ ${DEPENDENCIES}
+ ${EVOLUTION_DATA_SERVER_LDFLAGS}
+ ${GNOME_PLATFORM_LDFLAGS}
+)
+
+install(TARGETS evolution-backup
+ DESTINATION ${privlibexecdir}
+)
diff --git a/modules/bogofilter/CMakeLists.txt b/modules/bogofilter/CMakeLists.txt
new file mode 100644
index 0000000..39b43c7
--- /dev/null
+++ b/modules/bogofilter/CMakeLists.txt
@@ -0,0 +1,23 @@
+add_appdata_file(evolution-bogofilter.metainfo.xml.in evolution-bogofilter.metainfo.xml)
+
+set(extra_deps
+ email-engine
+)
+set(sources
+ evolution-bogofilter.c
+)
+set(extra_defines
+ -DWELCOME_MESSAGE=\"${privdatadir}/default/C/mail/local/Inbox\"
+)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-bogofilter
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/book-config-google/CMakeLists.txt b/modules/book-config-google/CMakeLists.txt
new file mode 100644
index 0000000..d455caf
--- /dev/null
+++ b/modules/book-config-google/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-book-config-google.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-book-config-google
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/book-config-ldap/CMakeLists.txt b/modules/book-config-ldap/CMakeLists.txt
new file mode 100644
index 0000000..7bcf9ef
--- /dev/null
+++ b/modules/book-config-ldap/CMakeLists.txt
@@ -0,0 +1,23 @@
+set(extra_deps)
+set(sources
+ evolution-book-config-ldap.c
+)
+set(extra_defines)
+set(extra_cflags
+ ${LDAP_CFLAGS}
+)
+set(extra_incdirs
+ ${LDAP_INCLUDE_DIRS}
+)
+set(extra_ldflags
+ ${LDAP_LIBS}
+)
+
+add_evolution_module(module-book-config-ldap
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/book-config-local/CMakeLists.txt b/modules/book-config-local/CMakeLists.txt
new file mode 100644
index 0000000..f057cbb
--- /dev/null
+++ b/modules/book-config-local/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-book-config-local.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-book-config-local
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/book-config-webdav/CMakeLists.txt b/modules/book-config-webdav/CMakeLists.txt
new file mode 100644
index 0000000..91d7906
--- /dev/null
+++ b/modules/book-config-webdav/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-book-config-webdav.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-book-config-webdav
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-caldav/CMakeLists.txt b/modules/cal-config-caldav/CMakeLists.txt
new file mode 100644
index 0000000..cc28d96
--- /dev/null
+++ b/modules/cal-config-caldav/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-cal-config-caldav.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-cal-config-caldav
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-contacts/CMakeLists.txt b/modules/cal-config-contacts/CMakeLists.txt
new file mode 100644
index 0000000..376f1d8
--- /dev/null
+++ b/modules/cal-config-contacts/CMakeLists.txt
@@ -0,0 +1,19 @@
+set(extra_deps)
+set(sources
+ evolution-cal-config-contacts.c
+ e-contacts-selector.c
+ e-contacts-selector.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-cal-config-contacts
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-google/CMakeLists.txt b/modules/cal-config-google/CMakeLists.txt
new file mode 100644
index 0000000..48eda74
--- /dev/null
+++ b/modules/cal-config-google/CMakeLists.txt
@@ -0,0 +1,22 @@
+set(extra_deps)
+set(sources
+ e-cal-config-google.c
+ e-cal-config-gtasks.c
+ e-google-chooser-button.c
+ e-google-chooser-button.h
+ module-cal-config-google.c
+ module-cal-config-google.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-cal-config-google
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-local/CMakeLists.txt b/modules/cal-config-local/CMakeLists.txt
new file mode 100644
index 0000000..22f5ab5
--- /dev/null
+++ b/modules/cal-config-local/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-cal-config-local.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-cal-config-local
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-weather/CMakeLists.txt b/modules/cal-config-weather/CMakeLists.txt
new file mode 100644
index 0000000..b610b0b
--- /dev/null
+++ b/modules/cal-config-weather/CMakeLists.txt
@@ -0,0 +1,23 @@
+set(extra_deps)
+set(sources
+ evolution-cal-config-weather.c
+)
+set(extra_defines)
+set(extra_cflags
+ ${GWEATHER_CFLAGS}
+)
+set(extra_incdirs
+ ${GWEATHER_INCLUDE_DIRS}
+)
+set(extra_ldflags
+ ${GWEATHER_LDFLAGS}
+)
+
+add_evolution_module(module-cal-config-weather
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/cal-config-webcal/CMakeLists.txt b/modules/cal-config-webcal/CMakeLists.txt
new file mode 100644
index 0000000..2253a59
--- /dev/null
+++ b/modules/cal-config-webcal/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-cal-config-webcal.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-cal-config-webcal
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/calendar/CMakeLists.txt b/modules/calendar/CMakeLists.txt
new file mode 100644
index 0000000..ec6c754
--- /dev/null
+++ b/modules/calendar/CMakeLists.txt
@@ -0,0 +1,87 @@
+install(FILES e-calendar-preferences.ui
+ DESTINATION ${uidir}
+)
+
+set(extra_deps
+ econtacteditor
+ econtactlisteditor
+ evolution-calendar
+ evolution-calendar-importers
+ evolution-mail
+ evolution-shell
+ gnomecanvas
+)
+set(sources
+ evolution-module-calendar.c
+ e-cal-attachment-handler.c
+ e-cal-attachment-handler.h
+ e-cal-base-shell-backend.c
+ e-cal-base-shell-backend.h
+ e-cal-base-shell-content.c
+ e-cal-base-shell-content.h
+ e-cal-base-shell-sidebar.c
+ e-cal-base-shell-sidebar.h
+ e-cal-base-shell-view.c
+ e-cal-base-shell-view.h
+ e-cal-config-hook.c
+ e-cal-config-hook.h
+ e-cal-event-hook.c
+ e-cal-event-hook.h
+ e-cal-shell-backend.c
+ e-cal-shell-backend.h
+ e-cal-shell-content.c
+ e-cal-shell-content.h
+ e-cal-shell-migrate.c
+ e-cal-shell-migrate.h
+ e-cal-shell-view.c
+ e-cal-shell-view.h
+ e-cal-shell-view-actions.c
+ e-cal-shell-view-actions.h
+ e-cal-shell-view-private.c
+ e-cal-shell-view-private.h
+ e-cal-shell-view-memopad.c
+ e-cal-shell-view-taskpad.c
+ e-calendar-preferences.c
+ e-calendar-preferences.h
+ e-memo-shell-backend.c
+ e-memo-shell-backend.h
+ e-memo-shell-content.c
+ e-memo-shell-content.h
+ e-memo-shell-migrate.c
+ e-memo-shell-migrate.h
+ e-memo-shell-view.c
+ e-memo-shell-view.h
+ e-memo-shell-view-actions.c
+ e-memo-shell-view-actions.h
+ e-memo-shell-view-private.c
+ e-memo-shell-view-private.h
+ e-task-shell-backend.c
+ e-task-shell-backend.h
+ e-task-shell-content.c
+ e-task-shell-content.h
+ e-task-shell-migrate.c
+ e-task-shell-migrate.h
+ e-task-shell-view.c
+ e-task-shell-view.h
+ e-task-shell-view-actions.c
+ e-task-shell-view-actions.h
+ e-task-shell-view-private.c
+ e-task-shell-view-private.h
+)
+set(extra_defines
+ -DEVOLUTION_PRIVLIBEXECDIR=\"${privlibexecdir}\"
+)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags
+ ${MATH_LDFLAGS}
+)
+
+add_evolution_module(module-calendar
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/composer-autosave/CMakeLists.txt b/modules/composer-autosave/CMakeLists.txt
new file mode 100644
index 0000000..8cb0027
--- /dev/null
+++ b/modules/composer-autosave/CMakeLists.txt
@@ -0,0 +1,26 @@
+set(extra_deps
+ evolution-mail-composer
+ evolution-shell
+)
+set(sources
+ evolution-composer-autosave.c
+ e-autosave-utils.c
+ e-autosave-utils.h
+ e-composer-autosave.c
+ e-composer-autosave.h
+ e-composer-registry.c
+ e-composer-registry.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-composer-autosave
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/contact-photos/CMakeLists.txt b/modules/contact-photos/CMakeLists.txt
new file mode 100644
index 0000000..99372ab
--- /dev/null
+++ b/modules/contact-photos/CMakeLists.txt
@@ -0,0 +1,21 @@
+set(extra_deps)
+set(sources
+ evolution-contact-photos.c
+ e-contact-photo-source.c
+ e-contact-photo-source.h
+ e-photo-cache-contact-loader.c
+ e-photo-cache-contact-loader.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-contact-photos
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/gravatar/CMakeLists.txt b/modules/gravatar/CMakeLists.txt
new file mode 100644
index 0000000..150577e
--- /dev/null
+++ b/modules/gravatar/CMakeLists.txt
@@ -0,0 +1,21 @@
+set(extra_deps)
+set(sources
+ evolution-module-gravatar.c
+ e-gravatar-photo-source.c
+ e-gravatar-photo-source.h
+ e-photo-cache-gravatar-loader.c
+ e-photo-cache-gravatar-loader.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-gravatar
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/itip-formatter/CMakeLists.txt b/modules/itip-formatter/CMakeLists.txt
new file mode 100644
index 0000000..b6f8e19
--- /dev/null
+++ b/modules/itip-formatter/CMakeLists.txt
@@ -0,0 +1,36 @@
+add_error_files(itip-formatter org-gnome-itip-formatter.error)
+
+set(extra_deps
+ email-engine
+ evolution-calendar
+ evolution-mail
+ evolution-mail-formatter
+ evolution-shell
+)
+set(sources
+ e-mail-formatter-itip.c
+ e-mail-formatter-itip.h
+ e-mail-parser-itip.c
+ e-mail-parser-itip.h
+ e-mail-part-itip.c
+ e-mail-part-itip.h
+ itip-view.c
+ itip-view.h
+ evolution-module-itip-formatter.c
+ itip-view-elements-defines.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-itip-formatter
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
+
+add_subdirectory(web-extension)
diff --git a/modules/itip-formatter/web-extension/CMakeLists.txt
b/modules/itip-formatter/web-extension/CMakeLists.txt
new file mode 100644
index 0000000..431004e
--- /dev/null
+++ b/modules/itip-formatter/web-extension/CMakeLists.txt
@@ -0,0 +1,20 @@
+set(extra_deps)
+set(sources
+ module-itip-formatter-web-extension.c
+ module-itip-formatter-web-extension.h
+ module-itip-formatter-dom-utils.c
+ module-itip-formatter-dom-utils.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_webextension_module(module-itip-formatter-webextension
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/mail-config/CMakeLists.txt b/modules/mail-config/CMakeLists.txt
new file mode 100644
index 0000000..4061ce2
--- /dev/null
+++ b/modules/mail-config/CMakeLists.txt
@@ -0,0 +1,30 @@
+set(extra_deps
+ email-engine
+ evolution-mail
+)
+set(sources
+ evolution-mail-config.c
+ e-mail-config-local-accounts.c
+ e-mail-config-remote-accounts.c
+ e-mail-config-sendmail-backend.c
+ e-mail-config-sendmail-backend.h
+ e-mail-config-smtp-backend.c
+ e-mail-config-smtp-backend.h
+ e-mail-config-google-summary.c
+ e-mail-config-google-summary.h
+ e-mail-config-yahoo-summary.c
+ e-mail-config-yahoo-summary.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-mail-config
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/mail/CMakeLists.txt b/modules/mail/CMakeLists.txt
new file mode 100644
index 0000000..ca27f5a
--- /dev/null
+++ b/modules/mail/CMakeLists.txt
@@ -0,0 +1,48 @@
+set(extra_deps
+ email-engine
+ evolution-mail
+ evolution-mail-composer
+ evolution-mail-formatter
+ evolution-mail-importers
+ evolution-shell
+)
+set(sources
+ evolution-module-mail.c
+ e-mail-attachment-handler.c
+ e-mail-attachment-handler.h
+ e-mail-config-hook.c
+ e-mail-config-hook.h
+ e-mail-event-hook.c
+ e-mail-event-hook.h
+ e-mail-shell-backend.c
+ e-mail-shell-backend.h
+ e-mail-shell-content.c
+ e-mail-shell-content.h
+ e-mail-shell-sidebar.c
+ e-mail-shell-sidebar.h
+ e-mail-shell-view.c
+ e-mail-shell-view.h
+ e-mail-shell-view-actions.c
+ e-mail-shell-view-actions.h
+ e-mail-shell-view-private.c
+ e-mail-shell-view-private.h
+ em-account-prefs.c
+ em-account-prefs.h
+ em-composer-prefs.c
+ em-composer-prefs.h
+ em-mailer-prefs.c
+ em-mailer-prefs.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-mail
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/mailto-handler/CMakeLists.txt b/modules/mailto-handler/CMakeLists.txt
new file mode 100644
index 0000000..3015b29
--- /dev/null
+++ b/modules/mailto-handler/CMakeLists.txt
@@ -0,0 +1,19 @@
+set(extra_deps
+ evolution-shell
+)
+set(sources
+ evolution-mailto-handler.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-mailto-handler
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/mdn/CMakeLists.txt b/modules/mdn/CMakeLists.txt
new file mode 100644
index 0000000..687aca3
--- /dev/null
+++ b/modules/mdn/CMakeLists.txt
@@ -0,0 +1,23 @@
+add_error_files(mdn evolution-mdn.error)
+
+set(extra_deps
+ email-engine
+ evolution-mail
+ evolution-shell
+)
+set(sources
+ evolution-mdn.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-mdn
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/offline-alert/CMakeLists.txt b/modules/offline-alert/CMakeLists.txt
new file mode 100644
index 0000000..0e14b31
--- /dev/null
+++ b/modules/offline-alert/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_error_files(offline-alert evolution-offline-alert.error)
+
+set(extra_deps
+ evolution-shell
+)
+set(sources
+ evolution-offline-alert.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-offline-alert
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/plugin-lib/CMakeLists.txt b/modules/plugin-lib/CMakeLists.txt
new file mode 100644
index 0000000..f21059a
--- /dev/null
+++ b/modules/plugin-lib/CMakeLists.txt
@@ -0,0 +1,22 @@
+set(extra_deps)
+set(sources
+ evolution-module-plugin-lib.c
+ e-plugin-lib.c
+ e-plugin-lib.h
+)
+set(extra_defines
+ -DEVOLUTION_PLUGINDIR=\"${plugindir}\"
+ -DBUILDTIME_EVOLUTION_PLUGINDIR=\"${plugindir}\"
+)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-plugin-lib
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/plugin-manager/CMakeLists.txt b/modules/plugin-manager/CMakeLists.txt
new file mode 100644
index 0000000..c960500
--- /dev/null
+++ b/modules/plugin-manager/CMakeLists.txt
@@ -0,0 +1,19 @@
+set(extra_deps
+ evolution-shell
+)
+set(sources
+ evolution-plugin-manager.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-plugin-manager
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/prefer-plain/CMakeLists.txt b/modules/prefer-plain/CMakeLists.txt
new file mode 100644
index 0000000..44e9e59
--- /dev/null
+++ b/modules/prefer-plain/CMakeLists.txt
@@ -0,0 +1,27 @@
+set(extra_deps
+ evolution-mail
+ evolution-mail-formatter
+ evolution-shell
+)
+set(sources
+ e-mail-parser-prefer-plain.c
+ e-mail-parser-prefer-plain.h
+ e-mail-display-popup-prefer-plain.c
+ e-mail-display-popup-prefer-plain.h
+ evolution-module-prefer-plain.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-prefer-plain
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
+
+add_subdirectory(plugin)
diff --git a/modules/prefer-plain/plugin/CMakeLists.txt b/modules/prefer-plain/plugin/CMakeLists.txt
new file mode 100644
index 0000000..b891e54
--- /dev/null
+++ b/modules/prefer-plain/plugin/CMakeLists.txt
@@ -0,0 +1,44 @@
+add_eplug_file(prefer-plain org-gnome-prefer-plain.eplug)
+
+set(DEPENDENCIES
+ evolution-util
+)
+
+set(SOURCES
+ config-ui.c
+)
+
+add_library(org-gnome-prefer-plain MODULE
+ ${SOURCES}
+)
+
+add_dependencies(org-gnome-prefer-plain
+ ${DEPENDENCIES}
+)
+
+target_compile_definitions(org-gnome-prefer-plain PRIVATE
+ -DG_LOG_DOMAIN=\"prefer-plain\"
+)
+
+target_compile_options(org-gnome-prefer-plain PUBLIC
+ ${EVOLUTION_DATA_SERVER_CFLAGS}
+ ${GNOME_PLATFORM_CFLAGS}
+)
+
+target_include_directories(org-gnome-prefer-plain PUBLIC
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${EVOLUTION_DATA_SERVER_INCLUDE_DIRS}
+ ${GNOME_PLATFORM_INCLUDE_DIRS}
+)
+
+target_link_libraries(org-gnome-prefer-plain
+ ${DEPENDENCIES}
+ ${EVOLUTION_DATA_SERVER_LDFLAGS}
+ ${GNOME_PLATFORM_LDFLAGS}
+)
+
+install(TARGETS org-gnome-prefer-plain
+ DESTINATION ${plugindir}
+)
diff --git a/modules/settings/CMakeLists.txt b/modules/settings/CMakeLists.txt
new file mode 100644
index 0000000..5d6d38d
--- /dev/null
+++ b/modules/settings/CMakeLists.txt
@@ -0,0 +1,61 @@
+set(extra_deps
+ email-engine
+ evolution-calendar
+ evolution-mail
+ evolution-mail-formatter
+ evolution-shell
+)
+set(sources
+ evolution-module-settings.c
+ e-settings-cal-model.c
+ e-settings-cal-model.h
+ e-settings-calendar-item.c
+ e-settings-calendar-item.h
+ e-settings-calendar-view.c
+ e-settings-calendar-view.h
+ e-settings-client-cache.c
+ e-settings-client-cache.h
+ e-settings-date-edit.c
+ e-settings-date-edit.h
+ e-settings-deprecated.c
+ e-settings-deprecated.h
+ e-settings-content-editor.c
+ e-settings-content-editor.h
+ e-settings-mail-browser.c
+ e-settings-mail-browser.h
+ e-settings-mail-formatter.c
+ e-settings-mail-formatter.h
+ e-settings-mail-part-headers.c
+ e-settings-mail-part-headers.h
+ e-settings-mail-reader.c
+ e-settings-mail-reader.h
+ e-settings-mail-session.c
+ e-settings-mail-session.h
+ e-settings-meeting-store.c
+ e-settings-meeting-store.h
+ e-settings-meeting-time-selector.c
+ e-settings-meeting-time-selector.h
+ e-settings-message-list.c
+ e-settings-message-list.h
+ e-settings-name-selector-entry.c
+ e-settings-name-selector-entry.h
+ e-settings-spell-checker.c
+ e-settings-spell-checker.h
+ e-settings-spell-entry.c
+ e-settings-spell-entry.h
+ e-settings-weekday-chooser.c
+ e-settings-weekday-chooser.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-settings
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/spamassassin/CMakeLists.txt b/modules/spamassassin/CMakeLists.txt
new file mode 100644
index 0000000..74d2587
--- /dev/null
+++ b/modules/spamassassin/CMakeLists.txt
@@ -0,0 +1,23 @@
+add_appdata_file(evolution-spamassassin.metainfo.xml.in evolution-spamassassin.metainfo.xml)
+
+set(extra_deps
+ email-engine
+ evolution-mail
+ evolution-shell
+)
+set(sources
+ evolution-spamassassin.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-spamassassin
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/startup-wizard/CMakeLists.txt b/modules/startup-wizard/CMakeLists.txt
new file mode 100644
index 0000000..cb54eec
--- /dev/null
+++ b/modules/startup-wizard/CMakeLists.txt
@@ -0,0 +1,28 @@
+set(extra_deps
+ email-engine
+ evolution-calendar
+ evolution-mail
+ evolution-shell
+)
+set(sources
+ evolution-startup-wizard.c
+ e-startup-assistant.c
+ e-startup-assistant.h
+ e-mail-config-import-page.c
+ e-mail-config-import-page.h
+ e-mail-config-import-progress-page.c
+ e-mail-config-import-progress-page.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-startup-wizard
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/text-highlight/CMakeLists.txt b/modules/text-highlight/CMakeLists.txt
new file mode 100644
index 0000000..c463467
--- /dev/null
+++ b/modules/text-highlight/CMakeLists.txt
@@ -0,0 +1,29 @@
+set(extra_deps
+ evolution-mail
+ evolution-mail-formatter
+ evolution-shell
+)
+set(sources
+ e-mail-display-popup-text-highlight.c
+ e-mail-display-popup-text-highlight.h
+ e-mail-formatter-text-highlight.c
+ e-mail-formatter-text-highlight.h
+ e-mail-parser-text-highlight.c
+ e-mail-parser-text-highlight.h
+ evolution-module-text-highlight.c
+ languages.c
+ languages.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-text-highlight
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/tnef-attachment/CMakeLists.txt b/modules/tnef-attachment/CMakeLists.txt
new file mode 100644
index 0000000..afea03b
--- /dev/null
+++ b/modules/tnef-attachment/CMakeLists.txt
@@ -0,0 +1,24 @@
+set(extra_deps
+ evolution-mail
+ evolution-mail-formatter
+)
+set(sources
+ e-mail-parser-tnef-attachment.c
+ e-mail-parser-tnef-attachment.h
+ evolution-module-tnef-attachment.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags
+ ${TNEF_LDFLAGS}
+)
+
+add_evolution_module(module-tnef-attachment
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/vcard-inline/CMakeLists.txt b/modules/vcard-inline/CMakeLists.txt
new file mode 100644
index 0000000..64474f2
--- /dev/null
+++ b/modules/vcard-inline/CMakeLists.txt
@@ -0,0 +1,29 @@
+set(extra_deps
+ eabutil
+ eabwidgets
+ econtactprint
+ evolution-mail
+ evolution-mail-formatter
+)
+set(sources
+ e-mail-formatter-vcard.c
+ e-mail-formatter-vcard.h
+ e-mail-parser-vcard.c
+ e-mail-parser-vcard.h
+ e-mail-part-vcard.c
+ e-mail-part-vcard.h
+ evolution-module-vcard-inline.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-vcard-inline
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/webkit-editor/CMakeLists.txt b/modules/webkit-editor/CMakeLists.txt
new file mode 100644
index 0000000..e04f48e
--- /dev/null
+++ b/modules/webkit-editor/CMakeLists.txt
@@ -0,0 +1,25 @@
+set(extra_deps)
+set(sources
+ evolution-module-webkit-editor.c
+ e-webkit-editor-extension.c
+ e-webkit-editor-extension.h
+ e-webkit-editor.c
+ e-webkit-editor.h
+)
+set(extra_defines
+ -DEVOLUTION_WEB_EXTENSIONS_WEBKIT_EDITOR_DIR=\"${webextensionswebkiteditordir}\"
+)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-webkit-editor
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
+
+add_subdirectory(web-extension)
diff --git a/modules/webkit-editor/web-extension/CMakeLists.txt
b/modules/webkit-editor/web-extension/CMakeLists.txt
new file mode 100644
index 0000000..ba5244f
--- /dev/null
+++ b/modules/webkit-editor/web-extension/CMakeLists.txt
@@ -0,0 +1,30 @@
+set(extra_deps)
+set(sources
+ e-composer-dom-functions.c
+ e-composer-dom-functions.h
+ e-dialogs-dom-functions.c
+ e-dialogs-dom-functions.h
+ e-editor-dom-functions.c
+ e-editor-dom-functions.h
+ e-editor-page.c
+ e-editor-page.h
+ e-editor-undo-redo-manager.c
+ e-editor-undo-redo-manager.h
+ e-editor-web-extension.c
+ e-editor-web-extension.h
+ e-editor-web-extension-main.c
+ e-editor-web-extension-names.h
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_webextension_module(module-webkit-editor-webextension
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
diff --git a/modules/webkit-inspector/CMakeLists.txt b/modules/webkit-inspector/CMakeLists.txt
new file mode 100644
index 0000000..5b8bfbd
--- /dev/null
+++ b/modules/webkit-inspector/CMakeLists.txt
@@ -0,0 +1,17 @@
+set(extra_deps)
+set(sources
+ evolution-webkit-inspector.c
+)
+set(extra_defines)
+set(extra_cflags)
+set(extra_incdirs)
+set(extra_ldflags)
+
+add_evolution_module(module-webkit-inspector
+ sources
+ extra_deps
+ extra_defines
+ extra_cflags
+ extra_incdirs
+ extra_ldflags
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]