[CMake] Make WTF headers copies
[WebKit-https.git] / Source / WTF / wtf / PlatformMac.cmake
index f071d2f0ebb0941aa7832f59a416809c25da2c41..273cc41f47278866c9cc4096953c2aa69697d0bd 100644 (file)
@@ -7,6 +7,29 @@ list(APPEND WTF_LIBRARIES
     ${READLINE_LIBRARY}
 )
 
     ${READLINE_LIBRARY}
 )
 
+list(APPEND WTF_HEADERS
+    cf/TypeCastsCF.h
+
+    cocoa/SoftLinking.h
+
+    darwin/WeakLinking.h
+
+    mac/AppKitCompatibilityDeclarations.h
+
+    spi/cf/CFBundleSPI.h
+    spi/cf/CFStringSPI.h
+
+    spi/cocoa/NSMapTableSPI.h
+    spi/cocoa/SecuritySPI.h
+
+    spi/darwin/CommonCryptoSPI.h
+    spi/darwin/SandboxSPI.h
+    spi/darwin/XPCSPI.h
+    spi/darwin/dyldSPI.h
+
+    text/cf/TextBreakIteratorCF.h
+)
+
 list(APPEND WTF_SOURCES
     AutodrainedPoolMac.mm
     BlockObjCExceptions.mm
 list(APPEND WTF_SOURCES
     AutodrainedPoolMac.mm
     BlockObjCExceptions.mm
@@ -37,7 +60,7 @@ list(APPEND WTF_SOURCES
     text/mac/StringViewObjC.mm
 )
 
     text/mac/StringViewObjC.mm
 )
 
-list(APPEND WTF_INCLUDE_DIRECTORIES
+list(APPEND WTF_PRIVATE_INCLUDE_DIRECTORIES
     "${WTF_DIR}/icu"
     "${WTF_DIR}/wtf/spi/darwin"
     ${DERIVED_SOURCES_WTF_DIR}
     "${WTF_DIR}/icu"
     "${WTF_DIR}/wtf/spi/darwin"
     ${DERIVED_SOURCES_WTF_DIR}