Commit 9fc3e9a4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make flake as shared lib

fix compile/link

svn path=/trunk/koffice/; revision=544919
parent 912f8c9f
......@@ -20,12 +20,14 @@ set(flake_SRCS
KoTool.cpp
)
kde4_automoc(${flake_SRCS})
kde4_add_library(flake ${flake_SRCS})
kde4_add_library(flake SHARED ${flake_SRCS})
target_link_libraries(flake ${KDE4_KDEUI_LIBS})
set_target_properties(flake PROPERTIES VERSION 1.0.0 SOVERSION 1 )
kde4_install_libtool_file( ${LIB_INSTALL_DIR} flake )
install_targets(${LIB_INSTALL_DIR} flake )
......
......@@ -174,3 +174,5 @@ bool KoSelection::isSelected(const KoShape *object) const {
return false;
}
#include "KoSelection.moc"
......@@ -26,6 +26,7 @@
#include "KoRepaintManager.h"
#include "KoShapeContainer.h"
#include "KoShapeBorderModel.h"
#include "KoRepaintManager.moc"
#include <QDebug>
#include <QPainter>
......@@ -132,3 +133,5 @@ KoShape * KoShapeManager::getObjectAt( const QPointF &position )
return 0; // missed everything
}
#include "KoShapeManager.moc"
......@@ -23,6 +23,7 @@
#include "KoCanvasBase.h"
#include "KoViewConverter.h"
#include "KoGfxEvent.h"
#include "KoTool.moc"
KoTool::KoTool(const QString & name, const QString & id, const QString & type, KoCanvasBase *canvas )
: m_optionWidget( 0 )
......
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