blob: 7b8aa18496ab197c6d8de93a1b7b9e443809bbf1 [file] [log] [blame]
set(DumpRenderTree_SOURCES
AccessibilityController.cpp
AccessibilityTextMarker.cpp
AccessibilityUIElement.cpp
CyclicRedundancyCheck.cpp
DumpRenderTreeCommon.cpp
GCController.cpp
PixelDumpSupport.cpp
TestRunner.cpp
WorkQueue.cpp
)
set(DumpRenderTree_LIBRARIES
JavaScriptCore
WTF
WebCore
WebCoreTestSupport
WebKit
)
set(DumpRenderTree_INCLUDE_DIRECTORIES
${WEBCORE_DIR}
${WEBCORE_DIR}/bindings
${WEBCORE_DIR}/bridge
${WEBCORE_DIR}/bridge/jsc
${WEBCORE_DIR}/css
${WEBCORE_DIR}/dom
${WEBCORE_DIR}/editing
${WEBCORE_DIR}/history
${WEBCORE_DIR}/html
${WEBCORE_DIR}/inspector
${WEBCORE_DIR}/loader
${WEBCORE_DIR}/loader/cache
${WEBCORE_DIR}/loader/icon
${WEBCORE_DIR}/page
${WEBCORE_DIR}/page/animation
${WEBCORE_DIR}/platform
${WEBCORE_DIR}/platform/animation
${WEBCORE_DIR}/platform/graphics
${WEBCORE_DIR}/platform/graphics/transforms
${WEBCORE_DIR}/platform/network
${WEBCORE_DIR}/platform/text
${WEBCORE_DIR}/plugins
${WEBCORE_DIR}/rendering
${WEBCORE_DIR}/rendering/shapes
${WEBCORE_DIR}/rendering/style
${JAVASCRIPTCORE_DIR}
${JAVASCRIPTCORE_DIR}/API
${JAVASCRIPTCORE_DIR}/assembler
${JAVASCRIPTCORE_DIR}/bytecode
${JAVASCRIPTCORE_DIR}/dfg
${JAVASCRIPTCORE_DIR}/disassembler
${JAVASCRIPTCORE_DIR}/heap
${JAVASCRIPTCORE_DIR}/interpreter
${JAVASCRIPTCORE_DIR}/jit
${JAVASCRIPTCORE_DIR}/llint
${JAVASCRIPTCORE_DIR}/parser
${JAVASCRIPTCORE_DIR}/profiler
${JAVASCRIPTCORE_DIR}/runtime
${JAVASCRIPTCORE_DIR}/ForwardingHeaders
${TOOLS_DIR}/DumpRenderTree
${WTF_DIR}
${CMAKE_SOURCE_DIR}/Source
${CMAKE_BINARY_DIR}
${DERIVED_SOURCES_WEBCORE_DIR}
${WEBCORE_DIR}/bindings/js
${WEBCORE_DIR}/testing/js
)
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
include_directories(${DumpRenderTree_INCLUDE_DIRECTORIES})
add_executable(DumpRenderTree ${DumpRenderTree_SOURCES})
target_link_libraries(DumpRenderTree ${DumpRenderTree_LIBRARIES})
set_target_properties(DumpRenderTree PROPERTIES FOLDER "Tools")