summaryrefslogtreecommitdiffstats
path: root/khtml/dom/CMakeLists.txt
blob: b3e3e0591a9ac9cebada2406131de041530c3780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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}
)