db3b6d0ed5e7f1c0e663f281d2d59022eee03115
[WebKit-https.git] / WebKitQt / QtLauncher / CMakeLists.txt
1 include_directories(
2    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore
3    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../..//JavaScriptCore
4    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/bridge
5    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/page
6    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/loader
7    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/platform
8    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/platform/qt
9    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/ksvg2
10    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/ksvg2/svg
11    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/ksvg2/css
12    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/rendering
13    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/editing
14    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/html
15    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/css
16    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/dom
17    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/xml
18    BEFORE ${CMAKE_SOURCE_DIR}/kdecore
19 )
20
21 add_definitions(-Wno-undef -Wno-unused-parameter)
22
23 set(testunity_SRCS main.cpp)
24 kde4_automoc(${testunity_SRCS})
25 kde4_add_executable(testunity RUN_UNINSTALLED ${testunity_SRCS})
26 target_link_libraries(testunity  ${KDE4_KDECORE_LIBS} WebCore-unity )