[PAL][Win] Copy forwarding headers
[WebKit-https.git] / Source / WebCore / PAL / pal / PlatformWin.cmake
1 list(APPEND PAL_SOURCES
2     crypto/win/CryptoDigestWin.cpp
3
4     system/win/SoundWin.cpp
5
6     text/KillRingNone.cpp
7 )
8
9 list(APPEND PAL_INCLUDE_DIRECTORIES
10     "${CMAKE_BINARY_DIR}"
11     "${CMAKE_BINARY_DIR}/../include/private"
12 )
13
14 list(APPEND PAL_FORWARDING_HEADERS_DIRECTORIES .)
15
16 if (${WTF_PLATFORM_WIN_CAIRO})
17     include(PlatformWinCairo.cmake)
18 else ()
19     include(PlatformAppleWin.cmake)
20 endif ()
21
22 set(PAL_OUTPUT_NAME PAL${DEBUG_SUFFIX})
23
24 file(MAKE_DIRECTORY ${FORWARDING_HEADERS_DIR}/WebCore/pal)
25 foreach (_directory ${PAL_FORWARDING_HEADERS_DIRECTORIES})
26     file(MAKE_DIRECTORY ${FORWARDING_HEADERS_DIR}/WebCore/pal/${_directory})
27     file(GLOB _files "${PAL_DIR}/pal/${_directory}/*.h")
28     foreach (_file ${_files})
29         file(COPY ${_file} DESTINATION ${FORWARDING_HEADERS_DIR}/WebCore/pal/${_directory})
30     endforeach ()
31 endforeach ()