don't discard iframe children.
[kdelibs.git] / khtml / tests / CMakeLists.txt
blob6a9fb230a098ddb451c17195c9cca488813d06ff
1 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
3 include_directories(${KDE4_KPARTS_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/..)
4 include_directories(
5   ${CMAKE_SOURCE_DIR}/khtml/misc
6   ${CMAKE_SOURCE_DIR}/khtml/dom
7   ${CMAKE_SOURCE_DIR}/khtml/xml
8   ${CMAKE_SOURCE_DIR}/khtml/html
9   ${CMAKE_SOURCE_DIR}/khtml/rendering
10   ${CMAKE_SOURCE_DIR}/khtml/ecma
11   ${CMAKE_SOURCE_DIR}/khtml/imload
12   ${CMAKE_SOURCE_DIR}/khtml/imload/decoders
13   ${CMAKE_SOURCE_DIR}/khtml/java
14   ${CMAKE_SOURCE_DIR}/khtml/svg
15   ${CMAKE_SOURCE_DIR}/khtml/svg/graphics
16   ${CMAKE_SOURCE_DIR}/khtml/platform/graphics
17   ${CMAKE_SOURCE_DIR}/khtml/platform/text
18   ${CMAKE_SOURCE_DIR}/khtml/platform
19   ${CMAKE_SOURCE_DIR}/khtml/compat
20   ${CMAKE_SOURCE_DIR}/khtml/css
22 include_directories(
23   ${CMAKE_CURRENT_BINARY_DIR}/../misc
24   ${CMAKE_CURRENT_BINARY_DIR}/../dom
25   ${CMAKE_CURRENT_BINARY_DIR}/../xml
26   ${CMAKE_CURRENT_BINARY_DIR}/../html
27   ${CMAKE_CURRENT_BINARY_DIR}/../rendering
28   ${CMAKE_CURRENT_BINARY_DIR}/../ecma
29   ${CMAKE_CURRENT_BINARY_DIR}/../imload
30   ${CMAKE_CURRENT_BINARY_DIR}/../imload/decoders
31   ${CMAKE_CURRENT_BINARY_DIR}/../java
32   ${CMAKE_CURRENT_BINARY_DIR}/../svg
33   ${CMAKE_CURRENT_BINARY_DIR}/../svg/graphics
34   ${CMAKE_CURRENT_BINARY_DIR}/../platform/graphics
35   ${CMAKE_CURRENT_BINARY_DIR}/../platform/text
36   ${CMAKE_CURRENT_BINARY_DIR}/../compat
37   ${CMAKE_CURRENT_BINARY_DIR}/../css
39 kde4_add_unit_test( khtmlparttest khtmlparttest.cpp )
40 target_link_libraries( khtmlparttest ${QT_QTTEST_LIBRARY} ${KDE4_KDECORE_LIBS} khtml )
42 # msvc linker doesn't like "#define protected public"
43 if(NOT MSVC)
45     ########### next target ###############
46     set(khtmltest_SRCS
47         testkhtmlnew.cpp
48     )
50     qt4_add_resources( khtmltest_SRCS testkhtml.qrc )
51     kde4_add_executable(khtmltest TEST ${khtmltest_SRCS} )
52     target_link_libraries( khtmltest ${KDE4_KDECORE_LIBS} khtml )
54     ########### next target ###############
55 endif(NOT MSVC)