<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[188342] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/188342">188342</a></dd>
<dt>Author</dt> <dd>achristensen@apple.com</dd>
<dt>Date</dt> <dd>2015-08-12 12:00:48 -0700 (Wed, 12 Aug 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix Debug CMake builds on Windows
https://bugs.webkit.org/show_bug.cgi?id=147940

Reviewed by Chris Dumez.

.:

* Source/cmake/OptionsWindows.cmake:
Put 32-bit binaries in a bin32 subdirectory and 64-bit binaries in a bin64 subdirectory.

Source/JavaScriptCore:

* PlatformWin.cmake:
Copy the plist to the JavaScriptCore.resources directory.

Source/WebCore:

* PlatformWin.cmake:
Copy localized strings to the WebKit.resources directory.

Source/WebKit:

* PlatformWin.cmake:
We need /NODEFAULTLIB with the debug version of libraries, too.

Tools:

* DumpRenderTree/PlatformWin.cmake:
* TestWebKitAPI/PlatformWin.cmake:
The BitmapImage test is not enabled on the AppleWin port.
* WinLauncher/CMakeLists.txt:
Debug builds need /NODEFAULTLIB:MSVCRTD, too.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCorePlatformWincmake">trunk/Source/JavaScriptCore/PlatformWin.cmake</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorePlatformWincmake">trunk/Source/WebCore/PlatformWin.cmake</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitPlatformWincmake">trunk/Source/WebKit/PlatformWin.cmake</a></li>
<li><a href="#trunkSourcecmakeOptionsWindowscmake">trunk/Source/cmake/OptionsWindows.cmake</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreePlatformWincmake">trunk/Tools/DumpRenderTree/PlatformWin.cmake</a></li>
<li><a href="#trunkToolsTestWebKitAPIPlatformWincmake">trunk/Tools/TestWebKitAPI/PlatformWin.cmake</a></li>
<li><a href="#trunkToolsWinLauncherCMakeListstxt">trunk/Tools/WinLauncher/CMakeLists.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/ChangeLog        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Fix Debug CMake builds on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=147940
+
+        Reviewed by Chris Dumez.
+
+        * Source/cmake/OptionsWindows.cmake:
+        Put 32-bit binaries in a bin32 subdirectory and 64-bit binaries in a bin64 subdirectory.
+
</ins><span class="cx"> 2015-08-10  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Build TestWebKitAPI with CMake on Windows
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Fix Debug CMake builds on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=147940
+
+        Reviewed by Chris Dumez.
+
+        * PlatformWin.cmake:
+        Copy the plist to the JavaScriptCore.resources directory.
+
</ins><span class="cx"> 2015-08-11  Geoffrey Garen  &lt;ggaren@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove VM::releaseExecutableMemory
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorePlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/PlatformWin.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/PlatformWin.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/JavaScriptCore/PlatformWin.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -27,3 +27,9 @@
</span><span class="cx"> list(REMOVE_ITEM JavaScriptCore_SOURCES
</span><span class="cx">     inspector/JSGlobalObjectInspectorController.cpp
</span><span class="cx"> )
</span><ins>+
+file(COPY
+    &quot;${JAVASCRIPTCORE_DIR}/JavaScriptCore.vcxproj/JavaScriptCore.resources&quot;
+    DESTINATION
+    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+)
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/WebCore/ChangeLog        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -1,5 +1,15 @@
</span><span class="cx"> 2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><ins>+        Fix Debug CMake builds on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=147940
+
+        Reviewed by Chris Dumez.
+
+        * PlatformWin.cmake:
+        Copy localized strings to the WebKit.resources directory.
+
+2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
</ins><span class="cx">         Unreviewed build fix after r188339.
</span><span class="cx"> 
</span><span class="cx">         * bindings/js/GCController.cpp:
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformWin.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformWin.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/WebCore/PlatformWin.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -224,3 +224,11 @@
</span><span class="cx">     WORKING_DIRECTORY &quot;${DERIVED_SOURCES_WEBCORE_DIR}&quot;
</span><span class="cx">     COMMAND echo /* Identifying AVFoundation Support */ &gt; WebCoreHeaderDetection.h
</span><span class="cx">     VERBATIM)
</span><ins>+
+make_directory(${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/WebKit.resources/en.lproj)
+file(COPY
+    &quot;${WEBCORE_DIR}/English.lproj/Localizable.strings&quot;
+    &quot;${WEBCORE_DIR}/English.lproj/mediaControlsLocalizedStrings.js&quot;
+    DESTINATION
+    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/WebKit.resources/en.lproj
+)
</ins></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/WebKit/ChangeLog        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Fix Debug CMake builds on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=147940
+
+        Reviewed by Chris Dumez.
+
+        * PlatformWin.cmake:
+        We need /NODEFAULTLIB with the debug version of libraries, too.
+
</ins><span class="cx"> 2015-08-11  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] Switch Windows build to Visual Studio 2015
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/PlatformWin.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/PlatformWin.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/WebKit/PlatformWin.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -447,9 +447,9 @@
</span><span class="cx"> set(CMAKE_CXX_STANDARD_LIBRARIES &quot;&quot;)
</span><span class="cx"> 
</span><span class="cx"> if (${WTF_PLATFORM_WIN_CAIRO})
</span><del>-    set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT&quot;)
</del><ins>+    set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:LIBCMTD&quot;)
</ins><span class="cx"> else ()
</span><del>-    set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT&quot;)
</del><ins>+    set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:MSVCRTD&quot;)
</ins><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> # If this directory isn't created before midl runs and attempts to output WebKit.tlb,
</span></span></pre></div>
<a id="trunkSourcecmakeOptionsWindowscmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/OptionsWindows.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/OptionsWindows.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Source/cmake/OptionsWindows.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -110,8 +110,14 @@
</span><span class="cx"> include_directories(&quot;$ENV{WEBKIT_LIBRARIES}/include&quot;)
</span><span class="cx"> if (${MSVC_CXX_ARCHITECTURE_ID} STREQUAL &quot;X86&quot;)
</span><span class="cx">     link_directories(&quot;$ENV{WEBKIT_LIBRARIES}/lib32&quot;)
</span><ins>+    set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib32)
+    set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib32)
+    set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin32)
</ins><span class="cx"> else ()
</span><span class="cx">     link_directories(&quot;$ENV{WEBKIT_LIBRARIES}/lib64&quot;)
</span><ins>+    set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib64)
+    set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib64)
+    set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin64)
</ins><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> if (MSVC)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Tools/ChangeLog        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2015-08-12  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Fix Debug CMake builds on Windows
+        https://bugs.webkit.org/show_bug.cgi?id=147940
+
+        Reviewed by Chris Dumez.
+
+        * DumpRenderTree/PlatformWin.cmake:
+        * TestWebKitAPI/PlatformWin.cmake:
+        The BitmapImage test is not enabled on the AppleWin port.
+        * WinLauncher/CMakeLists.txt:
+        Debug builds need /NODEFAULTLIB:MSVCRTD, too.
+
</ins><span class="cx"> 2015-08-12  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed. run-gtk-tests: Use a longer timeout for slow tests.
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreePlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/PlatformWin.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/PlatformWin.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Tools/DumpRenderTree/PlatformWin.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> ADD_PRECOMPILED_HEADER(&quot;DumpRenderTreePrefix.h&quot; &quot;win/DumpRenderTreePrefix.cpp&quot; DumpRenderTreeLib_SOURCES)
</span><del>-set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT&quot;)
</del><ins>+set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:MSVCRTD&quot;)
</ins><span class="cx"> add_definitions(-DUSE_CONSOLE_ENTRY_POINT)
</span><span class="cx"> 
</span><span class="cx"> add_library(DumpRenderTreeLib SHARED ${DumpRenderTreeLib_SOURCES})
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPIPlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/PlatformWin.cmake (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/PlatformWin.cmake        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Tools/TestWebKitAPI/PlatformWin.cmake        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -24,6 +24,16 @@
</span><span class="cx">     gtest
</span><span class="cx"> )
</span><span class="cx"> 
</span><ins>+set(TestWebCoreLib_SOURCES
+    ${test_main_SOURCES}
+    ${TESTWEBKITAPI_DIR}/TestsController.cpp
+    ${TESTWEBKITAPI_DIR}/Tests/WebCore/CalculationValue.cpp
+    ${TESTWEBKITAPI_DIR}/Tests/WebCore/CSSParser.cpp
+    ${TESTWEBKITAPI_DIR}/Tests/WebCore/LayoutUnit.cpp
+    ${TESTWEBKITAPI_DIR}/Tests/WebCore/TimeRanges.cpp
+    ${TESTWEBKITAPI_DIR}/Tests/WebCore/URL.cpp
+)
+
</ins><span class="cx"> if (${WTF_PLATFORM_WIN_CAIRO})
</span><span class="cx">     list(APPEND test_webcore_LIBRARIES
</span><span class="cx">         cairo
</span><span class="lines">@@ -34,6 +44,9 @@
</span><span class="cx">         strmiids
</span><span class="cx">         vcruntime
</span><span class="cx">     )
</span><ins>+    list(APPEND TestWebCoreLib_SOURCES
+        ${TESTWEBKITAPI_DIR}/Tests/WebCore/win/BitmapImage.cpp
+    )
</ins><span class="cx"> else ()
</span><span class="cx">     list(APPEND test_webcore_LIBRARIES
</span><span class="cx">         CFNetwork
</span><span class="lines">@@ -56,14 +69,7 @@
</span><span class="cx"> )
</span><span class="cx"> 
</span><span class="cx"> add_library(TestWebCoreLib SHARED
</span><del>-    ${test_main_SOURCES}
-    ${TESTWEBKITAPI_DIR}/TestsController.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/win/BitmapImage.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/CalculationValue.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/CSSParser.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/LayoutUnit.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/TimeRanges.cpp
-    ${TESTWEBKITAPI_DIR}/Tests/WebCore/URL.cpp
</del><ins>+    ${TestWebCoreLib_SOURCES}
</ins><span class="cx"> )
</span><span class="cx"> 
</span><span class="cx"> target_link_libraries(TestWebCoreLib ${test_webcore_LIBRARIES})
</span></span></pre></div>
<a id="trunkToolsWinLauncherCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WinLauncher/CMakeLists.txt (188341 => 188342)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WinLauncher/CMakeLists.txt        2015-08-12 18:56:50 UTC (rev 188341)
+++ trunk/Tools/WinLauncher/CMakeLists.txt        2015-08-12 19:00:48 UTC (rev 188342)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx">     )
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><del>-set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT&quot;)
</del><ins>+set(CMAKE_SHARED_LINKER_FLAGS &quot;${CMAKE_SHARED_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT /NODEFAULTLIB:MSVCRTD&quot;)
</ins><span class="cx"> set(CMAKE_EXE_LINKER_FLAGS &quot;${CMAKE_EXE_LINKER_FLAGS} /ENTRY:wWinMainCRTStartup&quot;)
</span><span class="cx"> 
</span><span class="cx"> if (${WTF_PLATFORM_WIN_CAIRO})
</span></span></pre>
</div>
</div>

</body>
</html>