diff options
Diffstat (limited to 'khtml/dom/CMakeLists.txt')
-rw-r--r-- | khtml/dom/CMakeLists.txt | 62 |
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} +) |