Commit 4ae464bd authored by Laurent Montel's avatar Laurent Montel 😁

Continue to make it compiles as standalone

parent 60cb844e
......@@ -166,10 +166,11 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kmail_SOURCE_DIR})
find_package(KF5LibKSieve ${LIBKSIEVE_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(MailTransportDBusService CONFIG REQUIRED)
include_directories(${kmail_SOURCE_DIR} ${kmail_BINARY_DIR})
endif()
include_directories(${kmail_SOURCE_DIR} ${kmail_BINARY_DIR})
configure_file(kmail-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kmail-version.h @ONLY)
add_definitions( -DQT_NO_CAST_FROM_ASCII )
add_definitions( -DQT_NO_CAST_TO_ASCII )
......
......@@ -18,7 +18,7 @@
#include "archivemaildialog.h"
#include "archivemailwidget.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <MailCommon/MailUtil>
......
......@@ -19,7 +19,7 @@
#include "addarchivemaildialog.h"
#include "archivemailagentutil.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <MailCommon/MailUtil>
......
......@@ -18,7 +18,7 @@
#include "followupreminderinfodialog.h"
#include "followupreminderinfowidget.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <KLocalizedString>
#include <KAboutData>
......
......@@ -17,7 +17,7 @@
#include "sendlaterconfiguredialog.h"
#include "sendlaterconfigurewidget.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <KConfigGroup>
#include <KLocalizedString>
......
/*
Copyright (c) 1998-1999 Preston Brown <pbrown@kde.org>
Copyright (c) 2000-2004 Cornelius Schumacher <schumacher@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*
Set the version for this kdepim release.
This version may be used by programs within this module that
do not want to maintain a version on their own.
Note that we cannot use the kdelibs version because we may
build against older kdelibs releases.
*/
#ifndef KDEPIM_VERSION_H
#define KDEPIM_VERSION_H
#define KDEPIM_VERSION "@KDEPIM_VERSION@ (@WEBENGINE_TYPE@)"
#endif
add_definitions(-DTRANSLATION_DOMAIN=\"kmail\")
configure_file(config-kmail.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kmail.h )
qt5_generate_dbus_interface(kmkernel.h org.kde.kmail.kmail.xml OPTIONS -a)
qt5_generate_dbus_interface(editor/kmcomposerwin.h org.kde.kmail.mailcomposer.xml OPTIONS -a)
......
......@@ -31,7 +31,7 @@
#include "aboutdata.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <KLocalizedString>
......
/* config-kdepim.h. Generated by cmake from config-kdepim.h.cmake */
/* Define to 1 if you have the Xlib */
#cmakedefine01 KDEPIM_HAVE_X11
#cmakedefine QTWEBENGINE_SUPPORT_OPTION 1
......@@ -19,7 +19,7 @@
#define CONFIGUREMISCPAGE_H
#include "kmail_export.h"
#include "config-kdepim.h"
#include "config-kmail.h"
#include "ui_miscpagemaintab.h"
#include "configuredialog_p.h"
......
......@@ -19,7 +19,7 @@
#define CONFIGURESECURITYPAGE_H
#include "kmail_export.h"
#include "config-kdepim.h"
#include "config-kmail.h"
#include "configuredialog_p.h"
#include "ui_securitypagegeneraltab.h"
#include "ui_securitypagemdntab.h"
......
......@@ -30,7 +30,7 @@ using KPIM::RecentAddresses;
#include "storageservice/storageservicesettingsjob.h"
// kdepim includes
#include "kdepim-version.h"
#include "kmail-version.h"
// kdepimlibs includes
#include <KIdentityManagement/kidentitymanagement/identity.h>
......
......@@ -79,7 +79,7 @@ using KSieveUi::SieveDebugDialog;
#include "kmmainwidget.h"
// Other PIM includes
#include "kdepim-version.h"
#include "kmail-version.h"
#include "messageviewer/messageviewersettings.h"
#include "messageviewer/viewer.h"
......
......@@ -4,7 +4,7 @@
#define KMReaderMainWin_h
#include "kmail_export.h"
#include "config-kdepim.h"
#include "config-kmail.h"
#include "secondarywindow.h"
......
......@@ -21,7 +21,7 @@
// define this to copy all html that is written to the readerwindow to
// filehtmlwriter.out in the current working directory
#include "kmreaderwin.h"
#include "config-kdepim.h"
#include "config-kmail.h"
#include "settings/kmailsettings.h"
#include "kmmainwidget.h"
......@@ -30,7 +30,7 @@
#include "dialog/addemailtoexistingcontactdialog.h"
#include "job/addemailtoexistingcontactjob.h"
#include "kdepim-version.h"
#include "kmail-version.h"
#include <KEmailAddress>
#include <Libkdepim/AddEmailAddressJob>
#include <Libkdepim/OpenEmailAddressJob>
......
......@@ -22,7 +22,7 @@
#define KMREADERWIN_H
#include "kmail_export.h"
#include "config-kdepim.h"
#include "config-kmail.h"
#include <QWidget>
#include <qurl.h>
......
......@@ -7,7 +7,7 @@ include_directories(
########### dbus test ###############
set(dbustest_SRCS dbustest.cpp)
qt5_add_dbus_interfaces(dbustest_SRCS ${CMAKE_BINARY_DIR}/kmail/src/org.kde.kmail.kmail.xml)
qt5_add_dbus_interfaces(dbustest_SRCS ${kmail_BINARY_DIR}/src/org.kde.kmail.kmail.xml)
add_executable(dbustest ${dbustest_SRCS})
add_dependencies(dbustest kmail_xml)
target_link_libraries(dbustest KF5::KIOCore KF5::I18n Qt5::DBus)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment