summaryrefslogtreecommitdiffstats
path: root/libkipi/libkipi/libkipi_export.h.cmake
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-03-13 16:31:34 +0100
committergregory guy <g-gregory@gmx.fr>2019-03-20 13:46:42 +0100
commit4dfb812575ade9e6dbeb10389c58588238c316d8 (patch)
tree5bf2d3c08e03edc5c481eab0034512b0e0e17cb2 /libkipi/libkipi/libkipi_export.h.cmake
parent32438582c1e9903343046fdb9eb8914a13aded7a (diff)
downloadlibkipi-4dfb812575ade9e6dbeb10389c58588238c316d8.tar.gz
libkipi-4dfb812575ade9e6dbeb10389c58588238c316d8.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'libkipi/libkipi/libkipi_export.h.cmake')
-rw-r--r--libkipi/libkipi/libkipi_export.h.cmake37
1 files changed, 37 insertions, 0 deletions
diff --git a/libkipi/libkipi/libkipi_export.h.cmake b/libkipi/libkipi/libkipi_export.h.cmake
new file mode 100644
index 0000000..20e1553
--- /dev/null
+++ b/libkipi/libkipi/libkipi_export.h.cmake
@@ -0,0 +1,37 @@
+/*
+ This file is part of libkipi project
+ Copyright (c) 2005 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 Steet, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+*/
+
+#ifndef _LIBKIPI_EXPORT_H
+#define _LIBKIPI_EXPORT_H
+
+#cmakedefine KDEMACROS_USABLE @KDEMACROS_USABLE@
+
+#ifdef KDEMACROS_USABLE
+#include <kdemacros.h>
+#endif
+
+#ifdef KDE_EXPORT
+#define LIBKIPI_EXPORT KDE_EXPORT
+#else
+#define LIBKIPI_EXPORT
+#endif
+
+#endif /* _LIBKIPI_EXPORT_H */
+