Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 276e17367772ddb27b58a73c77d7fe38d1ae8f28
      
https://github.com/WebKit/WebKit/commit/276e17367772ddb27b58a73c77d7fe38d1ae8f28
  Author: Pascoe <[email protected]>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M CMakeLists.txt
    M CMakePresets.json
    A Source/cmake/OptionsCocoa.cmake
    A Source/cmake/OptionsIOS.cmake
    M Source/cmake/OptionsMac.cmake
    M Source/cmake/WebKitCommon.cmake
    M Source/cmake/WebKitCompilerFlags.cmake
    M Source/cmake/WebKitFeatures.cmake
    M Source/cmake/WebKitFindPackage.cmake
    M Source/cmake/WebKitMacros.cmake
    A Source/cmake/WebKitVersion.cmake
    A Source/cmake/ios-simulator.toolchain.cmake

  Log Message:
  -----------
  [CMake] Add iOS platform CMake infrastructure
https://bugs.webkit.org/show_bug.cgi?id=312909
<rdar://problem/175263743>

Reviewed by BJ Burg.

Add iOS port support to the CMake build system, enabling cross-compilation
for iPhone and iPad targets. This adds pre-project SDK detection to properly
configure the Clang/Swift target triple before CMake's compiler detection,
which must occur before the project() call to avoid locking the target
configuration.

Extract shared Cocoa platform options from OptionsMac.cmake into a new
OptionsCocoa.cmake, which both OptionsIOS.cmake and OptionsMac.cmake now
include. This eliminates duplication of SDK additions overlay resolution,
AppleFeatures stub generation, warning suppressions, ccache prefix maps,
sanitizer flags, and build infrastructure settings.

CMakePresets.json provides ios-dev-debug, ios-dev-release, ios-sim-dev-debug,
and related presets for device and simulator builds.

* CMakeLists.txt:
* CMakePresets.json:
* Source/cmake/OptionsCocoa.cmake: Added.
* Source/cmake/OptionsIOS.cmake: Added.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitCommon.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/WebKitFindPackage.cmake:
* Source/cmake/WebKitMacros.cmake:
* Source/cmake/WebKitVersion.cmake: Added.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to