WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
211346
can not build webkit on macOS using CMake
https://bugs.webkit.org/show_bug.cgi?id=211346
Summary
can not build webkit on macOS using CMake
ele828
Reported
2020-05-02 20:44:24 PDT
It fails to build WebKit project using CMake on my macOS, there are a bunch of file declaration issues in CMakeLists.txt across different subdirectories. I wonder if it's me did not configure it correctly or are there any cmake build issues in the project. Btw, is there any instructions on how to build webkit using CMake for macOS users? Thanks :)
Attachments
Add attachment
proposed patch, testcase, etc.
ele828
Comment 1
2020-05-02 21:23:42 PDT
Build command: ./Tools/Scripts/build-webkit --mac --debug --cmake CMake output: CMake Error at Source/cmake/WebKitMacros.cmake:142 (add_library): Cannot find source file: WebKit/WebKitBuild/Release/DerivedSources/WebCore/JSApplePayInstallmentConfiguration.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): Source/WebCore/CMakeLists.txt:1717 (WEBKIT_FRAMEWORK_DECLARE) CMake Error at Source/cmake/WebKitMacros.cmake:142 (add_library): Cannot find source file: WebKit/WebKitBuild/Release/DerivedSources/WebKit/RemoteMediaSessionHelperMessageReceiver.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): Source/WebKit/CMakeLists.txt:386 (WEBKIT_FRAMEWORK_DECLARE) CMake Error at Source/cmake/WebKitMacros.cmake:146 (add_executable): Cannot find source file: /cocoa/ClassMethodSwizzler.mm Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): Tools/DumpRenderTree/CMakeLists.txt:61 (WEBKIT_EXECUTABLE_DECLARE) CMake Error at Source/cmake/WebKitMacros.cmake:146 (add_executable): Cannot find source file: /cg/TestInvocationCG.cpp Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): Tools/WebKitTestRunner/CMakeLists.txt:119 (WEBKIT_EXECUTABLE_DECLARE) CMake Error at Tools/WebKitTestRunner/CMakeLists.txt:122 (add_library): Cannot find source file: /cocoa/CrashReporterInfo.mm Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error in Source/WebCore/CMakeLists.txt: Cannot find source file: platform/cocoa/PlaybackSessionInterface.h Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx CMake Error at Tools/WebKitTestRunner/CMakeLists.txt:122 (add_library): No SOURCES given to target: TestRunnerInjectedBundle CMake Generate step failed. Build files cannot be regenerated correctly. ~/D/WebKit git:(master)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug