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

Add cmakefiles for tests program.

Add export symbol

svn path=/trunk/koffice/; revision=544923
parent 81e4b62a
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
add_subdirectory(tests)
set(flake_SRCS
KoCommand.cpp
KoInteractionStrategy.cpp
......
......@@ -27,6 +27,7 @@
#include <QBrush>
#include "KoViewConverter.h"
#include <koffice_export.h>
class QPainter;
class QRectF;
......@@ -53,7 +54,7 @@ class KoShapeBorderModel;
* <p>The KoShape data is completely in postscript-points (pt) (see KoUnit
* for conversion methods to and from pt).
*/
class KoShape
class FLAKE_EXPORT KoShape
{
public:
/**
......
#if(KDE4_BUILD_TESTS)
include_directories( ${FLAKE_INCLUDES} )
########### next target ###############
set(TestPosition_test_SRCS TestPosition.cpp )
kde4_automoc(${TestPosition_test_SRCS})
kde4_add_executable(TestPosition RUN_UNINSTALLED ${TestPosition_test_SRCS})
target_link_libraries(TestPosition ${KDE4_KDECORE_LIBS} flake ${QT_QTTEST_LIBRARY})
#endif(KDE4_BUILD_TESTS)
......@@ -87,4 +87,4 @@ void TestPosition::testSetAbsolutePosition() {
}
QTEST_MAIN(TestPosition)
#include "moc_TestPosition.cpp"
#include "TestPosition.moc"
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