summaryrefslogtreecommitdiffstats
path: root/quanta/parts
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:39:07 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-16 14:39:07 +0000
commit039cc9f8f7c3b81ca85336b02efa49e8e26dbacd (patch)
tree5de007445ec5416ecbc4c2db1696870d124596b2 /quanta/parts
parent7af884d886e2428d5b28e9cf7d81c97d7e378123 (diff)
downloadtdewebdev-039cc9f8f7c3b81ca85336b02efa49e8e26dbacd.tar.gz
tdewebdev-039cc9f8f7c3b81ca85336b02efa49e8e26dbacd.zip
[kdewebdev/quanta] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1214824 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parts')
-rw-r--r--quanta/parts/CMakeLists.txt13
-rw-r--r--quanta/parts/kafka/CMakeLists.txt44
-rw-r--r--quanta/parts/kafka/pics/CMakeLists.txt14
-rw-r--r--quanta/parts/preview/CMakeLists.txt24
4 files changed, 95 insertions, 0 deletions
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
+)