Commit ddabe31a authored by Laurent Montel's avatar Laurent Montel 😁

Add export test symbol

parent 23d0e542
......@@ -68,6 +68,12 @@ endif()
add_definitions(-DTRANSLATION_DOMAIN=\"akonadicontact5\")
add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII")
add_definitions( -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT )
if(BUILD_TESTING)
add_definitions(-DBUILD_TESTING)
endif(BUILD_TESTING)
add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
......
/* This file is part of the KDE project
Copyright (C) 2017 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef AKONADI_CONTACTSPRIVATE_EXPORT_H
#define AKONADI_CONTACTSPRIVATE_EXPORT_H
#include "akonadi-contact_export.h"
/* Classes which are exported only for unit tests */
#ifdef BUILD_TESTING
# ifndef AKONADI_CONTACTS_TESTS_EXPORT
# define AKONADI_CONTACTS_TESTS_EXPORT AKONADI_CONTACT_EXPORT
# endif
#else /* not compiling tests */
# define AKONADI_CONTACTS_TESTS_EXPORT
#endif
#endif
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