summaryrefslogtreecommitdiffstats
path: root/khtml/dom/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 19:41:05 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 19:41:05 +0000
commit7ffba8afee76edba6433d97864119501731742e8 (patch)
tree38b5eb5bd019b77b33f7ad8d7de7ef7666ebe8b1 /khtml/dom/CMakeLists.txt
parent0db4822126702d04068c5761e63ed9684a08981b (diff)
downloadtdelibs-7ffba8afee76edba6433d97864119501731742e8.tar.gz
tdelibs-7ffba8afee76edba6433d97864119501731742e8.zip
[kdelibs] added initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1182854 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/dom/CMakeLists.txt')
-rw-r--r--khtml/dom/CMakeLists.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/khtml/dom/CMakeLists.txt b/khtml/dom/CMakeLists.txt
new file mode 100644
index 000000000..b3e3e0591
--- /dev/null
+++ b/khtml/dom/CMakeLists.txt
@@ -0,0 +1,62 @@
+#################################################
+#
+# (C) 2010 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+set( CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} ${USE_EXCEPTIONS} )
+
+add_definitions(
+ ${TQT_CFLAGS_OTHER}
+)
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kdecore
+ ${CMAKE_SOURCE_DIR}/khtml
+ ${CMAKE_SOURCE_DIR}/kdecore
+ ${CMAKE_SOURCE_DIR}/kio
+)
+
+
+##### headers ###################################
+
+install( FILES
+ dom_exception.h html_base.h html_inline.h
+ css_rule.h dom_html.h html_block.h html_list.h
+ css_stylesheet.h dom_misc.h html_document.h html_misc.h
+ css_value.h dom_node.h html_element.h html_object.h
+ dom_core.h dom_string.h html_form.h html_table.h
+ dom_doc.h dom_text.h html_head.h
+ dom_element.h dom_xml.h html_image.h
+ dom2_range.h dom2_traversal.h dom2_events.h
+ dom2_views.h
+ #css_extensions.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/dom )
+
+
+##### khtmldom-static ############################
+
+set( target khtmldom )
+
+set( ${target}_SRCS
+ dom_misc.cpp html_block.cpp html_inline.cpp css_rule.cpp
+ dom_node.cpp html_document.cpp html_list.cpp css_stylesheet.cpp
+ dom_string.cpp html_element.cpp html_misc.cpp css_value.cpp
+ dom_text.cpp html_object.cpp dom_doc.cpp dom_xml.cpp
+ html_head.cpp dom_element.cpp html_base.cpp html_image.cpp
+ html_form.cpp dom2_range.cpp html_table.cpp dom2_traversal.cpp
+ dom2_events.cpp dom2_views.cpp
+ #css_extensions.cpp
+)
+
+tde_add_library( ${target} STATIC_PIC AUTOMOC
+ SOURCES ${${target}_SRCS}
+)