Title: [254987] branches/safari-609.1.15-branch
Revision
254987
Author
[email protected]
Date
2020-01-23 11:01:34 -0800 (Thu, 23 Jan 2020)

Log Message

Cherry-pick r254681. rdar://problem/58379794

    [Win] Fix AppleWin build
    https://bugs.webkit.org/show_bug.cgi?id=206299

    Reviewed by Brent Fulgham.

    .:

    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
    keywork ALL when adding custom target for copying files.

    * Source/cmake/TargetJavaScriptCore.cmake: Added.
    * Source/cmake/TargetWTF.cmake: Added.
    * Source/cmake/WebKitMacros.cmake:

    Source/_javascript_Core:

    Include required target. Build internal builds with VS2019.

    * CMakeLists.txt:
    * _javascript_Core.vcxproj/_javascript_Core.proj:

    Source/WebCore:

    Include required targets. Build internal builds with VS2019.

    * CMakeLists.txt:
    * WebCore.vcxproj/WebCore.proj:

    Source/WebKitLegacy:

    Include required targets. Build internal builds with VS2019.

    * CMakeLists.txt:
    * WebKitLegacy.vcxproj/WebKitLegacy.proj:

    Source/WTF:

    Build internal builds with VS2019.

    * WTF.vcxproj/WTF.proj:

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Added Paths

Diff

Modified: branches/safari-609.1.15-branch/ChangeLog (254986 => 254987)


--- branches/safari-609.1.15-branch/ChangeLog	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/ChangeLog	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,3 +1,67 @@
+2020-01-23  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r254681. rdar://problem/58379794
+
+    [Win] Fix AppleWin build
+    https://bugs.webkit.org/show_bug.cgi?id=206299
+    
+    Reviewed by Brent Fulgham.
+    
+    .:
+    
+    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+    keywork ALL when adding custom target for copying files.
+    
+    * Source/cmake/TargetJavaScriptCore.cmake: Added.
+    * Source/cmake/TargetWTF.cmake: Added.
+    * Source/cmake/WebKitMacros.cmake:
+    
+    Source/_javascript_Core:
+    
+    Include required target. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * _javascript_Core.vcxproj/_javascript_Core.proj:
+    
+    Source/WebCore:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebCore.vcxproj/WebCore.proj:
+    
+    Source/WebKitLegacy:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+    
+    Source/WTF:
+    
+    Build internal builds with VS2019.
+    
+    * WTF.vcxproj/WTF.proj:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-16  Per Arne Vollan  <[email protected]>
+
+            [Win] Fix AppleWin build
+            https://bugs.webkit.org/show_bug.cgi?id=206299
+
+            Reviewed by Brent Fulgham.
+
+            This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+            _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+            keywork ALL when adding custom target for copying files.
+
+            * Source/cmake/TargetJavaScriptCore.cmake: Added.
+            * Source/cmake/TargetWTF.cmake: Added.
+            * Source/cmake/WebKitMacros.cmake:
+
 2020-01-03  Simon Fraser  <[email protected]>
 
         Add some shared schemes to the WebKit.xcworkspace

Modified: branches/safari-609.1.15-branch/Source/_javascript_Core/CMakeLists.txt (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/_javascript_Core/CMakeLists.txt	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/_javascript_Core/CMakeLists.txt	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,5 +1,6 @@
 cmake_minimum_required(VERSION 3.10)
 include(WebKitCommon)
+include(target/TargetWTF)
 set_property(DIRECTORY . PROPERTY FOLDER "_javascript_Core")
 
 list(APPEND _javascript_Core_UNIFIED_SOURCE_LIST_FILES

Modified: branches/safari-609.1.15-branch/Source/_javascript_Core/ChangeLog (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/_javascript_Core/ChangeLog	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/_javascript_Core/ChangeLog	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,3 +1,64 @@
+2020-01-23  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r254681. rdar://problem/58379794
+
+    [Win] Fix AppleWin build
+    https://bugs.webkit.org/show_bug.cgi?id=206299
+    
+    Reviewed by Brent Fulgham.
+    
+    .:
+    
+    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+    keywork ALL when adding custom target for copying files.
+    
+    * Source/cmake/TargetJavaScriptCore.cmake: Added.
+    * Source/cmake/TargetWTF.cmake: Added.
+    * Source/cmake/WebKitMacros.cmake:
+    
+    Source/_javascript_Core:
+    
+    Include required target. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * _javascript_Core.vcxproj/_javascript_Core.proj:
+    
+    Source/WebCore:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebCore.vcxproj/WebCore.proj:
+    
+    Source/WebKitLegacy:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+    
+    Source/WTF:
+    
+    Build internal builds with VS2019.
+    
+    * WTF.vcxproj/WTF.proj:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-16  Per Arne Vollan  <[email protected]>
+
+            [Win] Fix AppleWin build
+            https://bugs.webkit.org/show_bug.cgi?id=206299
+
+            Reviewed by Brent Fulgham.
+
+            Include required target. Build internal builds with VS2019.
+
+            * CMakeLists.txt:
+            * _javascript_Core.vcxproj/_javascript_Core.proj:
+
 2020-01-21  Alan Coon  <[email protected]>
 
         Cherry-pick r254632. rdar://problem/58764714

Modified: branches/safari-609.1.15-branch/Source/_javascript_Core/_javascript_Core.vcxproj/_javascript_Core.proj (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/_javascript_Core/_javascript_Core.vcxproj/_javascript_Core.proj	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/_javascript_Core/_javascript_Core.vcxproj/_javascript_Core.proj	2020-01-23 19:01:34 UTC (rev 254987)
@@ -54,9 +54,9 @@
   <Target Name="Build" AfterTargets="PreBuild">
     <Message Text="Building $(CONFIGURATION) Solution" />
     <Error Text="DSTROOT property or environment variable must be defined." Condition="'$(DSTROOT)' == ''" />
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -G &quot;Visual Studio 15 2017&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -A Win32 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -G &quot;Visual Studio 15 2017 Win64&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -A x64 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
   </Target>
 

Modified: branches/safari-609.1.15-branch/Source/WTF/ChangeLog (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WTF/ChangeLog	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WTF/ChangeLog	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,3 +1,63 @@
+2020-01-23  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r254681. rdar://problem/58379794
+
+    [Win] Fix AppleWin build
+    https://bugs.webkit.org/show_bug.cgi?id=206299
+    
+    Reviewed by Brent Fulgham.
+    
+    .:
+    
+    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+    keywork ALL when adding custom target for copying files.
+    
+    * Source/cmake/TargetJavaScriptCore.cmake: Added.
+    * Source/cmake/TargetWTF.cmake: Added.
+    * Source/cmake/WebKitMacros.cmake:
+    
+    Source/_javascript_Core:
+    
+    Include required target. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * _javascript_Core.vcxproj/_javascript_Core.proj:
+    
+    Source/WebCore:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebCore.vcxproj/WebCore.proj:
+    
+    Source/WebKitLegacy:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+    
+    Source/WTF:
+    
+    Build internal builds with VS2019.
+    
+    * WTF.vcxproj/WTF.proj:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-16  Per Arne Vollan  <[email protected]>
+
+            [Win] Fix AppleWin build
+            https://bugs.webkit.org/show_bug.cgi?id=206299
+
+            Reviewed by Brent Fulgham.
+
+            Build internal builds with VS2019.
+
+            * WTF.vcxproj/WTF.proj:
+
 2020-01-21  Alan Coon  <[email protected]>
 
         Cherry-pick r254632. rdar://problem/58764714

Modified: branches/safari-609.1.15-branch/Source/WTF/WTF.vcxproj/WTF.proj (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WTF/WTF.vcxproj/WTF.proj	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WTF/WTF.vcxproj/WTF.proj	2020-01-23 19:01:34 UTC (rev 254987)
@@ -46,9 +46,9 @@
   <Target Name="Build" AfterTargets="PreBuild">
     <Message Text="Building $(CONFIGURATION) Solution" />
     <Error Text="DSTROOT property or environment variable must be defined." Condition="'$(DSTROOT)' == ''" />
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -G &quot;Visual Studio 15 2017&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -A Win32 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -G &quot;Visual Studio 15 2017 Win64&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -A x64 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
   </Target>
 

Modified: branches/safari-609.1.15-branch/Source/WebCore/CMakeLists.txt (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebCore/CMakeLists.txt	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebCore/CMakeLists.txt	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,6 +1,8 @@
 cmake_minimum_required(VERSION 3.10)
 
 include(WebKitCommon)
+include(target/TargetWTF)
+include(target/TargetJavaScriptCore)
 include(WebCoreMacros.cmake)
 include(Headers.cmake)
 

Modified: branches/safari-609.1.15-branch/Source/WebCore/ChangeLog (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebCore/ChangeLog	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebCore/ChangeLog	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,3 +1,64 @@
+2020-01-23  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r254681. rdar://problem/58379794
+
+    [Win] Fix AppleWin build
+    https://bugs.webkit.org/show_bug.cgi?id=206299
+    
+    Reviewed by Brent Fulgham.
+    
+    .:
+    
+    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+    keywork ALL when adding custom target for copying files.
+    
+    * Source/cmake/TargetJavaScriptCore.cmake: Added.
+    * Source/cmake/TargetWTF.cmake: Added.
+    * Source/cmake/WebKitMacros.cmake:
+    
+    Source/_javascript_Core:
+    
+    Include required target. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * _javascript_Core.vcxproj/_javascript_Core.proj:
+    
+    Source/WebCore:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebCore.vcxproj/WebCore.proj:
+    
+    Source/WebKitLegacy:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+    
+    Source/WTF:
+    
+    Build internal builds with VS2019.
+    
+    * WTF.vcxproj/WTF.proj:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-16  Per Arne Vollan  <[email protected]>
+
+            [Win] Fix AppleWin build
+            https://bugs.webkit.org/show_bug.cgi?id=206299
+
+            Reviewed by Brent Fulgham.
+
+            Include required targets. Build internal builds with VS2019.
+
+            * CMakeLists.txt:
+            * WebCore.vcxproj/WebCore.proj:
+
 2020-01-15  Alan Coon  <[email protected]>
 
         Cherry-pick r254267. rdar://problem/58606290

Modified: branches/safari-609.1.15-branch/Source/WebCore/WebCore.vcxproj/WebCore.proj (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebCore/WebCore.vcxproj/WebCore.proj	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebCore/WebCore.vcxproj/WebCore.proj	2020-01-23 19:01:34 UTC (rev 254987)
@@ -54,9 +54,9 @@
   <Target Name="Build" AfterTargets="PreBuild">
     <Message Text="Building $(CONFIGURATION) Solution" />
     <Error Text="DSTROOT property or environment variable must be defined." Condition="'$(DSTROOT)' == ''" />
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -G &quot;Visual Studio 15 2017&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -A Win32 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -G &quot;Visual Studio 15 2017 Win64&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -A x64 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
   </Target>
 

Modified: branches/safari-609.1.15-branch/Source/WebKitLegacy/CMakeLists.txt (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebKitLegacy/CMakeLists.txt	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebKitLegacy/CMakeLists.txt	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,5 +1,7 @@
 cmake_minimum_required(VERSION 3.10)
 include(WebKitCommon)
+include(target/TargetWTF)
+include(target/TargetJavaScriptCore)
 set_property(DIRECTORY . PROPERTY FOLDER "WebKitLegacy")
 
 set(WebKitLegacy_SOURCES

Modified: branches/safari-609.1.15-branch/Source/WebKitLegacy/ChangeLog (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebKitLegacy/ChangeLog	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebKitLegacy/ChangeLog	2020-01-23 19:01:34 UTC (rev 254987)
@@ -1,3 +1,64 @@
+2020-01-23  Kocsen Chung  <[email protected]>
+
+        Cherry-pick r254681. rdar://problem/58379794
+
+    [Win] Fix AppleWin build
+    https://bugs.webkit.org/show_bug.cgi?id=206299
+    
+    Reviewed by Brent Fulgham.
+    
+    .:
+    
+    This patch has been created by [email protected] and [email protected]. Add target files for WTF and
+    _javascript_Core. Also, to make sure headers are copied to the forwarding headers directory, add the CMake
+    keywork ALL when adding custom target for copying files.
+    
+    * Source/cmake/TargetJavaScriptCore.cmake: Added.
+    * Source/cmake/TargetWTF.cmake: Added.
+    * Source/cmake/WebKitMacros.cmake:
+    
+    Source/_javascript_Core:
+    
+    Include required target. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * _javascript_Core.vcxproj/_javascript_Core.proj:
+    
+    Source/WebCore:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebCore.vcxproj/WebCore.proj:
+    
+    Source/WebKitLegacy:
+    
+    Include required targets. Build internal builds with VS2019.
+    
+    * CMakeLists.txt:
+    * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+    
+    Source/WTF:
+    
+    Build internal builds with VS2019.
+    
+    * WTF.vcxproj/WTF.proj:
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2020-01-16  Per Arne Vollan  <[email protected]>
+
+            [Win] Fix AppleWin build
+            https://bugs.webkit.org/show_bug.cgi?id=206299
+
+            Reviewed by Brent Fulgham.
+
+            Include required targets. Build internal builds with VS2019.
+
+            * CMakeLists.txt:
+            * WebKitLegacy.vcxproj/WebKitLegacy.proj:
+
 2020-01-14  Alan Coon  <[email protected]>
 
         Cherry-pick r254169. rdar://problem/58552876

Modified: branches/safari-609.1.15-branch/Source/WebKitLegacy/WebKitLegacy.vcxproj/WebKitLegacy.proj (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/WebKitLegacy/WebKitLegacy.vcxproj/WebKitLegacy.proj	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/WebKitLegacy/WebKitLegacy.vcxproj/WebKitLegacy.proj	2020-01-23 19:01:34 UTC (rev 254987)
@@ -54,9 +54,9 @@
   <Target Name="Build" AfterTargets="PreBuild">
     <Message Text="Building $(CONFIGURATION) Solution" />
     <Error Text="DSTROOT property or environment variable must be defined." Condition="'$(DSTROOT)' == ''" />
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -G &quot;Visual Studio 15 2017&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86=1 -A Win32 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build32"/>
-	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -G &quot;Visual Studio 15 2017 Win64&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
+	<Exec Command="$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -A x64 -G &quot;Visual Studio 16 2019&quot;" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
 	<Exec Command="msbuild Project.sln /p:Configuration=$(CONFIG)" WorkingDirectory="$(OBJROOT)/$(CONFIG)/build64"/>
   </Target>
 

Modified: branches/safari-609.1.15-branch/Source/cmake/WebKitMacros.cmake (254986 => 254987)


--- branches/safari-609.1.15-branch/Source/cmake/WebKitMacros.cmake	2020-01-23 19:00:27 UTC (rev 254986)
+++ branches/safari-609.1.15-branch/Source/cmake/WebKitMacros.cmake	2020-01-23 19:01:34 UTC (rev 254987)
@@ -370,7 +370,7 @@
         )
         list(APPEND dst_files ${dst_file})
     endforeach ()
-    add_custom_target(${target_name} DEPENDS ${dst_files})
+    add_custom_target(${target_name} ALL DEPENDS ${dst_files})
 endfunction()
 
 # Helper macros for debugging CMake problems.

Added: branches/safari-609.1.15-branch/Source/cmake/target/TargetJavaScriptCore.cmake (0 => 254987)


--- branches/safari-609.1.15-branch/Source/cmake/target/TargetJavaScriptCore.cmake	                        (rev 0)
+++ branches/safari-609.1.15-branch/Source/cmake/target/TargetJavaScriptCore.cmake	2020-01-23 19:01:34 UTC (rev 254987)
@@ -0,0 +1,19 @@
+if (NOT TARGET WebKit::_javascript_Core)
+    if (NOT INTERNAL_BUILD)
+        message(FATAL_ERROR "WebKit::_javascript_Core target not found")
+    endif ()
+
+    # This should be moved to an if block if the Apple Mac/iOS build moves completely to CMake
+    # Just assuming Windows for the moment
+    add_library(WebKit::_javascript_Core SHARED IMPORTED)
+    set_target_properties(WebKit::_javascript_Core PROPERTIES
+        IMPORTED_LOCATION ${WEBKIT_LIBRARIES_RUNTIME_DIR}/_javascript_Core${DEBUG_SUFFIX}.dll
+        IMPORTED_IMPLIB ${WEBKIT_LIBRARIES_LINK_DIR}/_javascript_Core${DEBUG_SUFFIX}.lib
+        # Should add Apple::CoreFoundation here when https://bugs.webkit.org/show_bug.cgi?id=205085 lands
+        INTERFACE_LINK_LIBRARIES "WebKit::WTF;ICU::data;ICU::i18n;ICU::uc"
+    )
+    target_include_directories(WebKit::_javascript_Core INTERFACE
+        ${_javascript_Core_FRAMEWORK_HEADERS_DIR}
+        ${_javascript_Core_PRIVATE_FRAMEWORK_HEADERS_DIR}
+    )
+endif ()

Added: branches/safari-609.1.15-branch/Source/cmake/target/TargetWTF.cmake (0 => 254987)


--- branches/safari-609.1.15-branch/Source/cmake/target/TargetWTF.cmake	                        (rev 0)
+++ branches/safari-609.1.15-branch/Source/cmake/target/TargetWTF.cmake	2020-01-23 19:01:34 UTC (rev 254987)
@@ -0,0 +1,18 @@
+if (NOT TARGET WebKit::WTF)
+    if (NOT INTERNAL_BUILD)
+        message(FATAL_ERROR "WebKit::WTF target not found")
+    endif ()
+
+    # This should be moved to an if block if the Apple Mac/iOS build moves completely to CMake
+    # Just assuming Windows for the moment
+    add_library(WebKit::WTF SHARED IMPORTED)
+    set_target_properties(WebKit::WTF PROPERTIES
+        IMPORTED_LOCATION ${WEBKIT_LIBRARIES_RUNTIME_DIR}/WTF${DEBUG_SUFFIX}.dll
+        IMPORTED_IMPLIB ${WEBKIT_LIBRARIES_LINK_DIR}/WTF${DEBUG_SUFFIX}.lib
+        # Should add Apple::CoreFoundation here when https://bugs.webkit.org/show_bug.cgi?id=205085 lands
+        INTERFACE_LINK_LIBRARIES "ICU::data;ICU::i18n;ICU::uc"
+    )
+    target_include_directories(WebKit::WTF INTERFACE
+        ${WTF_FRAMEWORK_HEADERS_DIR}
+    )
+endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to