examples/CMakeLists.txt              |    1 +
 examples/DumperPlugIn/CMakeLists.txt |   12 ++++++++++++
 2 files changed, 13 insertions(+)

New commits:
commit 44ec3e03cba21acfbb44a975533547803c83ea97
Author: Bernhard Sessler <bernhard.sess...@corscience.de>
Date:   Wed Jan 8 14:49:13 2014 +0100

    examples/DumperPlugIn: Build dumper plugin
    
    With this patch the cppunit dumper plugin example will be built
    when CPPUNIT_BUILD_EXAMPLES is ON.
    
    Change-Id: If5265461d01eb8b6567784b68e4d047b001d52f4
    Signed-off-by: Bernhard Sessler <bernhard.sess...@corscience.de>
    Reviewed-on: https://gerrit.libreoffice.org/7316
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com>

diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 5bf007b..72fa78c 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -1,4 +1,5 @@
 add_subdirectory(cppunittest)
+add_subdirectory(DumperPlugIn)
 
 if(CPPUNIT_BUILD_QT_TESTRUNNER)
     add_subdirectory(qt)
diff --git a/examples/DumperPlugIn/CMakeLists.txt 
b/examples/DumperPlugIn/CMakeLists.txt
new file mode 100644
index 0000000..e104e46
--- /dev/null
+++ b/examples/DumperPlugIn/CMakeLists.txt
@@ -0,0 +1,12 @@
+# Common source files
+set(cppunit-dumper-plugin_SOURCES
+    DumperListener.cpp
+    DumperPlugIn.cpp
+)
+
+# Create the test plugin
+add_library(cppunit-dumper-plugin MODULE ${cppunit-dumper-plugin_SOURCES})
+target_link_libraries(cppunit-dumper-plugin cppunit)
+
+install(TARGETS cppunit-dumper-plugin
+    DESTINATION share/${CPPUNIT_VERSION}/examples COMPONENT examples)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to