summaryrefslogtreecommitdiffstats
path: root/quanta/parsers
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/parsers
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/parsers')
-rw-r--r--quanta/parsers/CMakeLists.txt33
-rw-r--r--quanta/parsers/dtd/CMakeLists.txt31
2 files changed, 64 insertions, 0 deletions
diff --git a/quanta/parsers/CMakeLists.txt b/quanta/parsers/CMakeLists.txt
new file mode 100644
index 00000000..53536e0b
--- /dev/null
+++ b/quanta/parsers/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (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( dtd )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/quanta/src
+ ${CMAKE_SOURCE_DIR}/quanta/parsers
+ ${CMAKE_SOURCE_DIR}/quanta/utility
+ ${CMAKE_SOURCE_DIR}/quanta/treeviews
+ ${CMAKE_SOURCE_DIR}/quanta/parts/kafka
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### parser (static) ###########################
+
+tde_add_library( parser STATIC_PIC AUTOMOC
+ SOURCES
+ qtag.cpp node.cpp tag.cpp parser.cpp saparser.cpp
+ parsercommon.cpp sagroupparser.cpp
+)
diff --git a/quanta/parsers/dtd/CMakeLists.txt b/quanta/parsers/dtd/CMakeLists.txt
new file mode 100644
index 00000000..7997cc5a
--- /dev/null
+++ b/quanta/parsers/dtd/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (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_BINARY_DIR}/quanta/dialogs
+ ${CMAKE_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/quanta/parsers
+ ${CMAKE_SOURCE_DIR}/quanta/utility
+ ${CMAKE_SOURCE_DIR}/quanta/dialogs
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${LIBXML_INCLUDE_DIRS}
+)
+
+
+##### dtdparser (static) ########################
+
+tde_add_library( dtdparser STATIC_PIC
+ SOURCES
+ dtepcreationdlg.ui dtdparser.cpp
+ DEPENDENCIES dialogs-static
+)