[CMake] WebCore derived sources should only be referenced inside WebCore
[WebKit-https.git] / Source / WebCore / PAL / pal / PlatformWin.cmake
index 41b630d..dafdd4a 100644 (file)
@@ -1,20 +1,21 @@
 list(APPEND PAL_SOURCES
-    crypto/win/CryptoDigestWin.cpp
+    system/ClockGeneric.cpp
 
     system/win/SoundWin.cpp
 
-    text/KillRingNone.cpp
+    text/KillRing.cpp
+
+    win/LoggingWin.cpp
 )
 
 list(APPEND PAL_INCLUDE_DIRECTORIES
-    "${CMAKE_BINARY_DIR}"
     "${CMAKE_BINARY_DIR}/../include/private"
 )
 
-set(PAL_OUTPUT_NAME PAL${DEBUG_SUFFIX})
+if (${WTF_PLATFORM_WIN_CAIRO})
+    include(PlatformWinCairo.cmake)
+else ()
+    include(PlatformAppleWin.cmake)
+endif ()
 
-file(MAKE_DIRECTORY ${FORWARDING_HEADERS_DIR}/WebCore/pal)
-file(GLOB _files_PAL "${PAL_DIR}/pal/*.h")
-foreach (_file ${_files_PAL})
-    file(COPY ${_file} DESTINATION ${FORWARDING_HEADERS_DIR}/WebCore/pal/)
-endforeach ()
+set(PAL_OUTPUT_NAME PAL${DEBUG_SUFFIX})