Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi Contacts
Commits
ddabe31a
Commit
ddabe31a
authored
Apr 21, 2017
by
Laurent Montel
😁
Browse files
Add export test symbol
parent
23d0e542
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ddabe31a
...
...
@@ -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
)
...
...
src/akonadicontact_private_export.h
0 → 100644
View file @
ddabe31a
/* 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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment