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/parsers/CMakeLists.txt | 33 +++++++++++++++++++++++++++++++++ quanta/parsers/dtd/CMakeLists.txt | 31 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 quanta/parsers/CMakeLists.txt create mode 100644 quanta/parsers/dtd/CMakeLists.txt (limited to 'quanta/parsers') 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 +) -- cgit v1.2.1