achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 1 | set(DumpRenderTreeLib_SOURCES |
| 2 | ${DumpRenderTree_SOURCES} |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 3 | |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 4 | win/AccessibilityControllerWin.cpp |
| 5 | win/AccessibilityUIElementWin.cpp |
| 6 | win/DRTDataObject.cpp |
| 7 | win/DRTDesktopNotificationPresenter.cpp |
| 8 | win/DRTDropSource.cpp |
| 9 | win/DumpRenderTree.cpp |
| 10 | win/EditingDelegate.cpp |
| 11 | win/EventSender.cpp |
| 12 | win/FrameLoadDelegate.cpp |
| 13 | win/GCControllerWin.cpp |
| 14 | win/HistoryDelegate.cpp |
| 15 | win/MD5.cpp |
| 16 | win/PixelDumpSupportWin.cpp |
| 17 | win/PolicyDelegate.cpp |
| 18 | win/ResourceLoadDelegate.cpp |
| 19 | win/TestRunnerWin.cpp |
| 20 | win/TextInputController.cpp |
| 21 | win/TextInputControllerWin.cpp |
| 22 | win/UIDelegate.cpp |
| 23 | win/WorkQueueItemWin.cpp |
| 24 | ) |
| 25 | |
commit-queue@webkit.org | 9d3b378 | 2016-04-01 16:45:58 +0000 | [diff] [blame] | 26 | list(APPEND TestNetscapePlugin_LIBRARIES |
| 27 | WebKit |
| 28 | ) |
| 29 | |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 30 | set(DumpRenderTree_SOURCES |
| 31 | ${TOOLS_DIR}/win/DLLLauncher/DLLLauncherMain.cpp |
| 32 | ) |
| 33 | |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 34 | list(APPEND TestNetscapePlugin_SOURCES |
achristensen@apple.com | 948ac80 | 2016-06-10 06:11:26 +0000 | [diff] [blame] | 35 | win/TestNetscapePlugin.def |
| 36 | win/TestNetscapePlugin.rc |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 37 | |
| 38 | TestNetscapePlugin/Tests/win/CallJSThatDestroysPlugin.cpp |
| 39 | TestNetscapePlugin/Tests/win/DrawsGradient.cpp |
| 40 | TestNetscapePlugin/Tests/win/DumpWindowRect.cpp |
| 41 | TestNetscapePlugin/Tests/win/GetValueNetscapeWindow.cpp |
| 42 | TestNetscapePlugin/Tests/win/NPNInvalidateRectInvalidatesWindow.cpp |
| 43 | TestNetscapePlugin/Tests/win/WindowGeometryInitializedBeforeSetWindow.cpp |
| 44 | TestNetscapePlugin/Tests/win/WindowRegionIsSetToClipRect.cpp |
| 45 | TestNetscapePlugin/Tests/win/WindowlessPaintRectCoordinates.cpp |
| 46 | |
| 47 | TestNetscapePlugin/win/WindowGeometryTest.cpp |
| 48 | TestNetscapePlugin/win/WindowedPluginTest.cpp |
| 49 | ) |
| 50 | |
achristensen@apple.com | 57b4c9d | 2015-08-20 19:08:06 +0000 | [diff] [blame] | 51 | if (${WTF_PLATFORM_WIN_CAIRO}) |
| 52 | add_definitions(-DWIN_CAIRO) |
| 53 | endif () |
| 54 | |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 55 | list(APPEND TestNetscapePlugin_LIBRARIES |
| 56 | Msimg32 |
| 57 | Shlwapi |
achristensen@apple.com | 69c4774 | 2016-04-06 05:31:07 +0000 | [diff] [blame] | 58 | WebKit |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 59 | ) |
| 60 | |
| 61 | set(ImageDiff_SOURCES |
| 62 | win/ImageDiffWin.cpp |
| 63 | ) |
| 64 | |
| 65 | set(ImageDiff_LIBRARIES |
| 66 | JavaScriptCore |
| 67 | WTF |
| 68 | WebKit |
| 69 | ) |
| 70 | |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 71 | list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES |
| 72 | win |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 73 | TestNetscapePlugin |
| 74 | TestNetscapePlugin/ForwardingHeaders |
| 75 | TestNetscapePlugin/Tests |
| 76 | TestNetscapePlugin/win |
| 77 | TestNetscapePlugin/Tests/win |
pvollan@apple.com | de4448b | 2016-07-19 10:56:09 +0000 | [diff] [blame] | 78 | ${WEBKIT_DIR}/win |
| 79 | ${DERIVED_SOURCES_DIR}/WebKit/Interfaces |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 80 | ) |
| 81 | |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 82 | list(APPEND DumpRenderTree_LIBRARIES |
achristensen@apple.com | b009526 | 2016-04-12 06:53:54 +0000 | [diff] [blame] | 83 | WTF |
achristensen@apple.com | 69c4774 | 2016-04-06 05:31:07 +0000 | [diff] [blame] | 84 | WebKit |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 85 | shlwapi |
| 86 | ) |
| 87 | |
| 88 | set(DumpRenderTreeLib_LIBRARIES |
| 89 | ${DumpRenderTree_LIBRARIES} |
| 90 | Comsuppw |
| 91 | Oleacc |
| 92 | WebKitGUID |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 93 | ) |
| 94 | |
| 95 | if (${WTF_PLATFORM_WIN_CAIRO}) |
| 96 | list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES |
| 97 | cairo |
commit-queue@webkit.org | ef1cf3a | 2015-11-09 19:17:55 +0000 | [diff] [blame] | 98 | "${WEBKIT_LIBRARIES_DIR}/include/cairo" |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 99 | ) |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 100 | list(APPEND DumpRenderTreeLib_SOURCES |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 101 | cairo/PixelDumpSupportCairo.cpp |
| 102 | ) |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 103 | list(APPEND ImageDiff_SOURCES |
| 104 | win/ImageDiffCairo.cpp |
| 105 | ) |
| 106 | list(APPEND ImageDiff_LIBRARIES |
| 107 | cairo |
| 108 | ) |
| 109 | else () |
| 110 | list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES |
| 111 | cg |
| 112 | ) |
| 113 | list(APPEND DumpRenderTreeLib_SOURCES |
| 114 | cg/PixelDumpSupportCG.cpp |
| 115 | ) |
| 116 | list(APPEND DumpRenderTreeLib_LIBRARIES |
| 117 | CFNetwork |
| 118 | CoreGraphics |
| 119 | ) |
| 120 | list(APPEND ImageDiff_SOURCES |
| 121 | cg/ImageDiffCG.cpp |
| 122 | ) |
| 123 | list(APPEND ImageDiff_LIBRARIES |
| 124 | CoreFoundation |
| 125 | CoreGraphics |
| 126 | ) |
achristensen@apple.com | 4cd70e4 | 2015-07-20 15:55:03 +0000 | [diff] [blame] | 127 | endif () |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 128 | |
| 129 | ADD_PRECOMPILED_HEADER("DumpRenderTreePrefix.h" "win/DumpRenderTreePrefix.cpp" DumpRenderTreeLib_SOURCES) |
achristensen@apple.com | ab17f1e | 2015-08-12 19:00:48 +0000 | [diff] [blame] | 130 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:MSVCRTD") |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 131 | add_definitions(-DUSE_CONSOLE_ENTRY_POINT) |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 132 | |
| 133 | add_library(DumpRenderTreeLib SHARED ${DumpRenderTreeLib_SOURCES}) |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 134 | target_link_libraries(DumpRenderTreeLib ${DumpRenderTreeLib_LIBRARIES}) |
| 135 | |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 136 | add_executable(ImageDiff ${TOOLS_DIR}/win/DLLLauncher/DLLLauncherMain.cpp) |
| 137 | target_link_libraries(ImageDiff shlwapi) |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 138 | set_target_properties(ImageDiff PROPERTIES OUTPUT_NAME "ImageDiff") |
| 139 | |
| 140 | add_library(ImageDiffLib SHARED ${ImageDiff_SOURCES}) |
achristensen@apple.com | 822154c | 2015-08-07 23:42:07 +0000 | [diff] [blame] | 141 | target_link_libraries(ImageDiffLib ${ImageDiff_LIBRARIES}) |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 142 | |
achristensen@apple.com | 52743ce | 2015-08-28 00:04:52 +0000 | [diff] [blame] | 143 | add_dependencies(ImageDiff ImageDiffLib) |
| 144 | |
achristensen@apple.com | d5b418c | 2015-08-05 23:02:25 +0000 | [diff] [blame] | 145 | add_definitions(-D_UNICODE) |