[Webkit-unassigned] [Bug 237170] New: [CMake] Disabling ENABLE_WEBCORE is ignored when cmake configuration runs again.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 24 17:34:25 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=237170
Bug ID: 237170
Summary: [CMake] Disabling ENABLE_WEBCORE is ignored when cmake
configuration runs again.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CMake
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Basuke.Suzuki at sony.com
When I create a project by cmake with -DENABLE_WEBCORE=OFF, it generates a proper project which doesn't build WebCore and above at all. But if I change some CMake related files and it is required to re-run cmake configuration, then it creates a project with the ENABLE_WEBCORE is ON.
> cmake -DCMAKE_TOOLCHAIN_FILE=Platform\PlayStation5 -G Ninja -DPORT="PlayStation" -DENABLE_WEBCORE=OFF -DCMAKE_BUILD_TYPE=Release -B WebKitBuild/jsc
> cmake --build WebKitBuild/jsc
# build is good
Then modify CMake files such as PlatformPlayStation.cmake, and re-run build,
> cmake --build WebKitBuild/jsc
# build is NG, ENABLE_WEBCORE is back to ON
I expected the project should use same variables. Unless re-running configuration, the project is stable. I think this variable should be cached in CMake.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220225/5c0e934f/attachment.htm>
More information about the webkit-unassigned
mailing list