From 039cc9f8f7c3b81ca85336b02efa49e8e26dbacd Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 16 Jan 2011 14:39:07 +0000 Subject: [kdewebdev/quanta] initial cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1214824 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/parts/CMakeLists.txt | 13 ++++++++++ quanta/parts/kafka/CMakeLists.txt | 44 ++++++++++++++++++++++++++++++++++ quanta/parts/kafka/pics/CMakeLists.txt | 14 +++++++++++ quanta/parts/preview/CMakeLists.txt | 24 +++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 quanta/parts/CMakeLists.txt create mode 100644 quanta/parts/kafka/CMakeLists.txt create mode 100644 quanta/parts/kafka/pics/CMakeLists.txt create mode 100644 quanta/parts/preview/CMakeLists.txt (limited to 'quanta/parts') diff --git a/quanta/parts/CMakeLists.txt b/quanta/parts/CMakeLists.txt new file mode 100644 index 00000000..cd48aee8 --- /dev/null +++ b/quanta/parts/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( preview ) +add_subdirectory( kafka ) diff --git a/quanta/parts/kafka/CMakeLists.txt b/quanta/parts/kafka/CMakeLists.txt new file mode 100644 index 00000000..19519b44 --- /dev/null +++ b/quanta/parts/kafka/CMakeLists.txt @@ -0,0 +1,44 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME KDE_CXXFLAGS = $(USE_EXCEPTIONS) + +add_subdirectory( pics ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib + ${CMAKE_SOURCE_DIR}/quanta/src + ${CMAKE_SOURCE_DIR}/quanta/project + ${CMAKE_SOURCE_DIR}/quanta/parsers + ${CMAKE_SOURCE_DIR}/quanta/utility + ${CMAKE_SOURCE_DIR}/quanta/treeviews + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### other data ################################ + +install( FILES entities DESTINATION ${DATA_INSTALL_DIR}/kafkapart ) + + +##### kafkalibrary (static) ##################### + +tde_add_library( kafkalibrary STATIC_PIC AUTOMOC + SOURCES + htmlenhancer.cpp domtreeview.cpp kafkacommon.cpp + kafkahtmlpart.cpp nodeproperties.cpp + wkafkapart.cpp undoredo.cpp kafkasyncoptionsui.ui + htmldocumentpropertiesui.ui kafkasyncoptions.cpp + htmldocumentproperties.cpp cursors.cpp + kafkadragobject.cpp +) diff --git a/quanta/parts/kafka/pics/CMakeLists.txt b/quanta/parts/kafka/pics/CMakeLists.txt new file mode 100644 index 00000000..ddc33ca4 --- /dev/null +++ b/quanta/parts/kafka/pics/CMakeLists.txt @@ -0,0 +1,14 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +install( FILES + php.png comment.png + DESTINATION ${DATA_INSTALL_DIR}/kafkapart/pics ) diff --git a/quanta/parts/preview/CMakeLists.txt b/quanta/parts/preview/CMakeLists.txt new file mode 100644 index 00000000..8a0493c5 --- /dev/null +++ b/quanta/parts/preview/CMakeLists.txt @@ -0,0 +1,24 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/quanta/utility + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + + +##### preview (static) ########################## + +tde_add_library( preview STATIC_PIC AUTOMOC + SOURCES whtmlpart.cpp +) -- cgit v1.2.1