Reviewed by Eric. Landed by rwlbuis.
[WebKit-https.git] / WebKitTools / 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/kwq
10    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/rendering
11    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/editing
12    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/html
13    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/css
14    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/dom
15    BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../../WebCore/xml
16    BEFORE ${CMAKE_SOURCE_DIR}/kdecore
17 )
18
19 add_definitions(-Wno-undef -Wno-unused-parameter)
20
21 set(testunity_SRCS main.cpp)
22 kde4_automoc(${testunity_SRCS})
23 kde4_add_executable(testunity RUN_UNINSTALLED ${testunity_SRCS})
24 target_link_libraries(testunity  ${KDE4_KDECORE_LIBS} WebCore-unity )