Add general CMakeLists.txt for DRT
[WebKit-https.git] / Tools / CMakeLists.txt
1 if (ENABLE_WEBKIT2 AND NOT("${PORT}" STREQUAL "GTK"))
2     add_subdirectory(WebKitTestRunner)
3 endif ()
4
5 if ("${PORT}" STREQUAL "Efl")
6     add_subdirectory(ImageDiff)
7     add_subdirectory(EWebLauncher/ControlTheme)
8
9     if (ENABLE_WEBKIT)
10         add_subdirectory(DumpRenderTree)
11         add_subdirectory(EWebLauncher)
12     endif ()
13
14     if (ENABLE_WEBKIT2)
15         add_subdirectory(MiniBrowser/efl)
16     endif ()
17     add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
18 elseif ("${PORT}" STREQUAL "GTK")
19     if (ENABLE_WEBKIT2)
20         add_subdirectory(MiniBrowser/gtk)
21     endif ()
22 elseif ("${PORT}" STREQUAL "WinCE")
23     add_subdirectory(WinCELauncher)
24 endif ()
25
26 if (ENABLE_WEBKIT2 AND ENABLE_API_TESTS)
27     add_subdirectory(TestWebKitAPI)
28 endif ()