Add CMake build system for WinCairo port.
[WebKit-https.git] / Tools / CMakeLists.txt
1 if ("${PORT}" STREQUAL "Efl")
2     if (DEVELOPER_MODE)
3       add_subdirectory(WebKitTestRunner)
4       add_subdirectory(ImageDiff)
5       if (ENABLE_X11_TARGET)
6         add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
7       endif ()
8     endif ()
9
10     if (ENABLE_MINIBROWSER)
11       add_subdirectory(MiniBrowser/efl)
12     endif ()
13 elseif ("${PORT}" STREQUAL "GTK")
14     if (DEVELOPER_MODE)
15       add_subdirectory(WebKitTestRunner)
16       add_subdirectory(ImageDiff)
17       if (ENABLE_API_TESTS)
18           add_subdirectory(TestWebKitAPI/Tests/WebKit2Gtk)
19       endif ()
20       if (ENABLE_X11_TARGET)
21           add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
22       endif ()
23     endif ()
24
25     if (ENABLE_MINIBROWSER)
26         add_subdirectory(MiniBrowser/gtk)
27     endif ()
28 endif ()
29
30 if (WIN32)
31     add_subdirectory(DumpRenderTree)
32     add_subdirectory(WinLauncher)
33 endif ()
34
35 if (ENABLE_WEBKIT2 AND ENABLE_API_TESTS)
36     add_subdirectory(TestWebKitAPI)
37 endif ()