[webkit-changes] [WebKit/WebKit] 48aaac: [CMake] Use target_precompile_headers for Windows

Fujii Hironori noreply at github.com
Sun Nov 27 22:39:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 48aaac1d111548394d630f8a2ab8b957629b4d45
      https://github.com/WebKit/WebKit/commit/48aaac1d111548394d630f8a2ab8b957629b4d45
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt
    M Source/JavaScriptCore/JavaScriptCorePrefix.h
    M Source/WebCore/CMakeLists.txt
    R Source/WebCore/WebCoreDerivedSourcesPrefix.cpp
    R Source/WebCore/WebCorePrefix.cpp
    R Source/WebCore/testing/js/WebCoreTestSupportPrefix.cpp
    M Source/WebKit/CMakeLists.txt
    R Source/WebKit/WebKit2Prefix.cpp
    M Source/WebKitLegacy/CMakeLists.txt
    R Source/WebKitLegacy/win/WebKitPrefix.cpp
    M Source/WebKitLegacy/win/WebKitQuartzCoreAdditions/CMakeLists.txt
    R Source/WebKitLegacy/win/WebKitQuartzCoreAdditions/WebKitQuartzCoreAdditionsPrefix.cpp
    M Source/cmake/OptionsWin.cmake
    M Source/cmake/WebKitCompilerFlags.cmake
    M Source/cmake/WebKitMacros.cmake
    M Tools/DumpRenderTree/PlatformWin.cmake
    R Tools/DumpRenderTree/win/DumpRenderTreePrefix.cpp
    M Tools/WebKitTestRunner/PlatformWin.cmake
    R Tools/WebKitTestRunner/win/WebKitTestRunnerPrefix.cpp

  Log Message:
  -----------
  [CMake] Use target_precompile_headers for Windows
https://bugs.webkit.org/show_bug.cgi?id=248202

Reviewed by Don Olmstead.

CMake has target_precompile_headers since v3.16.
<https://cmake.org/cmake/help/v3.16/command/target_precompile_headers.html>
Use it for Windows instead of WEBKIT_ADD_PRECOMPILED_HEADER.

* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/JavaScriptCorePrefix.h:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/WebCoreDerivedSourcesPrefix.cpp: Removed.
* Source/WebCore/WebCorePrefix.cpp: Removed.
* Source/WebCore/testing/js/WebCoreTestSupportPrefix.cpp: Removed.
* Source/WebKit/CMakeLists.txt:
* Source/WebKit/WebKit2Prefix.cpp: Removed.
* Source/WebKitLegacy/CMakeLists.txt:
* Source/WebKitLegacy/win/WebKitPrefix.cpp: Removed.
* Source/WebKitLegacy/win/WebKitQuartzCoreAdditions/CMakeLists.txt:
* Source/WebKitLegacy/win/WebKitQuartzCoreAdditions/WebKitQuartzCoreAdditionsPrefix.cpp: Removed.
* Source/cmake/OptionsWin.cmake:
* Source/cmake/WebKitCompilerFlags.cmake:
* Source/cmake/WebKitMacros.cmake:
* Tools/DumpRenderTree/PlatformWin.cmake:
* Tools/DumpRenderTree/win/DumpRenderTreePrefix.cpp: Removed.
* Tools/WebKitTestRunner/PlatformWin.cmake:
* Tools/WebKitTestRunner/win/WebKitTestRunnerPrefix.cpp: Removed.

Canonical link: https://commits.webkit.org/257057@main




More information about the webkit-changes mailing list