[webkit-changes] [WebKit/WebKit] 0caa8d: Use CMAKE_<LANG>_COMPILER_LAUNCHER for ccache inst...

Fujii Hironori noreply at github.com
Fri Mar 24 15:02:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0caa8dae5802427f096d1438bbc566160c85b05b
      https://github.com/WebKit/WebKit/commit/0caa8dae5802427f096d1438bbc566160c85b05b
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M Source/cmake/WebKitCCache.cmake

  Log Message:
  -----------
  Use CMAKE_<LANG>_COMPILER_LAUNCHER for ccache instead of RULE_LAUNCH_COMPILE
https://bugs.webkit.org/show_bug.cgi?id=254216

Reviewed by Michael Catanzaro.

The document says we should use CMAKE_<LANG>_COMPILER_LAUNCHER
variables or <LANG>_COMPILER_LAUNCHER target property for ccache
instead of RULE_LAUNCH_COMPILE property.
<https://cmake.org/cmake/help/latest/prop_gbl/RULE_LAUNCH_COMPILE.html>

Using RULE_LAUNCH_COMPILE for ccache caused a problem for the resource
compiler on Windows.

* Source/cmake/WebKitCCache.cmake:
Set CMAKE_C_COMPILER_LAUNCHER and CMAKE_CXX_COMPILER_LAUNCHER.

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




More information about the webkit-changes mailing list