[CMake] Use find_package for libxml2 and libxstl
[WebKit-https.git] / Source / WebCore / PlatformWinCairo.cmake
1 include(platform/Cairo.cmake)
2 include(platform/Curl.cmake)
3 include(platform/ImageDecoders.cmake)
4 include(platform/TextureMapper.cmake)
5
6 list(APPEND WebCore_INCLUDE_DIRECTORIES
7     "${FORWARDING_HEADERS_DIR}/JavaScriptCore"
8     "${DirectX_INCLUDE_DIRS}"
9     "${WEBKIT_LIBRARIES_DIR}/include"
10     "${WEBKIT_LIBRARIES_DIR}/include/zlib"
11     "${WEBCORE_DIR}/loader/archive/cf"
12     "${WEBCORE_DIR}/platform/cf"
13 )
14
15 list(APPEND WebCore_SOURCES
16     page/win/FrameCairoWin.cpp
17
18     platform/graphics/GLContext.cpp
19     platform/graphics/PlatformDisplay.cpp
20
21     platform/graphics/win/FontCustomPlatformDataCairo.cpp
22     platform/graphics/win/FontPlatformDataCairoWin.cpp
23     platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp
24     platform/graphics/win/GraphicsContextCairoWin.cpp
25     platform/graphics/win/ImageCairoWin.cpp
26     platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp
27     platform/graphics/win/SimpleFontDataCairoWin.cpp
28
29     platform/network/NetworkStorageSessionStub.cpp
30
31     platform/text/win/LocaleWin.cpp
32
33     platform/win/DelayLoadedModulesEnumerator.cpp
34     platform/win/DragImageCairoWin.cpp
35     platform/win/ImportedFunctionsEnumerator.cpp
36     platform/win/ImportedModulesEnumerator.cpp
37     platform/win/PEImage.cpp
38 )
39
40 list(APPEND WebCore_LIBRARIES
41     ${DirectX_LIBRARIES}
42     CFLite
43     comctl32
44     crypt32
45     iphlpapi
46     libcurl_imp
47     libjpeg
48     libpng
49     rpcrt4
50     shlwapi
51     usp10
52     version
53     winmm
54     ws2_32
55     zdll
56 )
57
58 list(APPEND WebCoreTestSupport_LIBRARIES
59     ${CAIRO_LIBRARIES}
60     CFLite
61     shlwapi
62 )
63
64 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES
65     platform/graphics/cairo
66
67     platform/network/curl
68 )