Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 68a9c2d8e124d58896ee02cff1eb2fd87feb0ae6
https://github.com/WebKit/WebKit/commit/68a9c2d8e124d58896ee02cff1eb2fd87feb0ae6
Author: Adrian Perez de Castro <[email protected]>
Date: 2025-09-27 (Sat, 27 Sep 2025)
Changed paths:
M Source/JavaScriptCore/PlatformGTK.cmake
M Source/JavaScriptCore/PlatformJSCOnly.cmake
M Source/JavaScriptCore/PlatformWPE.cmake
M Source/JavaScriptCore/inspector/remote/GLib.cmake
R Source/JavaScriptCore/shell/PlatformGTK.cmake
R Source/JavaScriptCore/shell/PlatformWPE.cmake
M Source/WTF/wtf/PlatformGTK.cmake
M Source/WTF/wtf/PlatformJSCOnly.cmake
M Source/WTF/wtf/PlatformWPE.cmake
M Source/WebCore/PAL/pal/PlatformWPE.cmake
M Source/WebCore/PlatformGTK.cmake
M Source/WebCore/PlatformWPE.cmake
M Source/WebKit/PlatformGTK.cmake
M Source/WebKit/PlatformWPE.cmake
M Source/WebKit/WPEPlatform/CMakeLists.txt
M Source/WebKit/WPEPlatform/wpe/drm/CMakeLists.txt
M Source/WebKit/WPEPlatform/wpe/wayland/CMakeLists.txt
R Source/cmake/FindGLIB.cmake
A Source/cmake/FindGLib.cmake
M Source/cmake/OptionsGTK.cmake
M Source/cmake/OptionsJSCOnly.cmake
M Source/cmake/OptionsWPE.cmake
M Tools/TestWebKitAPI/glib/CMakeLists.txt
M Tools/WebKitTestRunner/PlatformWPE.cmake
M Tools/wpe/backends/PlatformWPE.cmake
Log Message:
-----------
[CMake] Use imported targets in the GLib find-module
https://bugs.webkit.org/show_bug.cgi?id=299597
Reviewed by Patrick Griffis.
Rewrite the GLib CMake find-module to use imported targets, simplifying
the CMake build system thanks to them. While at it rename it as
FindGLib.cmake to make it more idiomatic.
The new find-module defines a GLib::GLib imported target for the main
library, and sub-targets for the different components (GLib::Thread,
GLib::Object, etc.) which encode the dependencies between them. The
latter means that linking e.g. GLib::Gio into a target does not need
indicating also GLib::Object and GLib::GLib because CMake will
automatically pull the compile flags and libraries from the dependent
targets.
* Source/JavaScriptCore/GLib.cmake:
* Source/JavaScriptCore/PlatformGTK.cmake:
* Source/JavaScriptCore/PlatformJSCOnly.cmake:
* Source/JavaScriptCore/PlatformWPE.cmake:
* Source/JavaScriptCore/inspector/remote/GLib.cmake:
* Source/JavaScriptCore/shell/PlatformGTK.cmake: Removed.
* Source/JavaScriptCore/shell/PlatformWPE.cmake: Removed.
* Source/WTF/wtf/PlatformGTK.cmake:
* Source/WTF/wtf/PlatformJSCOnly.cmake:
* Source/WTF/wtf/PlatformWPE.cmake:
* Source/WebCore/PAL/pal/PlatformWPE.cmake:
* Source/WebCore/PlatformGTK.cmake:
* Source/WebCore/PlatformWPE.cmake:
* Source/WebKit/PlatformGTK.cmake:
* Source/WebKit/PlatformWPE.cmake:
* Source/WebKit/WPEPlatform/CMakeLists.txt:
* Source/WebKit/WPEPlatform/wpe/drm/CMakeLists.txt:
* Source/WebKit/WPEPlatform/wpe/wayland/CMakeLists.txt:
* Source/cmake/FindGLIB.cmake: Removed.
* Source/cmake/FindGLib.cmake: Added.
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsJSCOnly.cmake:
* Source/cmake/OptionsWPE.cmake:
* Tools/TestWebKitAPI/glib/CMakeLists.txt:
* Tools/WebKitTestRunner/PlatformWPE.cmake:
* Tools/wpe/backends/PlatformWPE.cmake:
Canonical link: https://commits.webkit.org/300628@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes