Commit b447facd authored by Sven Brauch's avatar Sven Brauch

use generate_export_header for debugger plugin as well

BUG:354423
parent 4a3e45f2
......@@ -23,6 +23,8 @@ set(kdevpdb_PART_SRCS
kdevplatform_add_plugin(kdevpdb JSON kdevpdb.json SOURCES ${kdevpdb_PART_SRCS})
generate_export_header(kdevpdb EXPORT_MACRO_NAME KDEVPYTHONDEBUG_EXPORT)
target_link_libraries(kdevpdb
kdevpythonparser
KDev::Interfaces
......
......@@ -21,7 +21,7 @@
#define PDBDEBUGGERPLUGIN_H
#include <interfaces/iplugin.h>
#include "pythondebugexport.h"
#include "kdevpdb_export.h"
#include <QVariantList>
namespace Python {
......
/***************************************************************************
* This file is part of KDevelop *
* Copyright 2012 Sven Brauch <svenbrauch@googlemail.com> *
* *
* This program 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 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 Library 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. *
***************************************************************************/
#ifndef PYTHONDEBUGEXPORT_H
#define PYTHONDEBUGEXPORT_H
/* needed for KDE_EXPORT macros */
#include <kdemacros.h>
#ifndef KDEVPYTHONDEBUG_EXPORT
# ifdef MAKE_KDEV4PYTHONDEBUG_LIB
# define KDEVPYTHONDEBUG_EXPORT KDE_EXPORT
# else
# define KDEVPYTHONDEBUG_EXPORT KDE_IMPORT
# endif
#endif
#endif
//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
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