[webkit-changes] [WebKit/WebKit] 219df2: [CMake] PlayStation VSI needs to set language on C...
Don Olmstead
noreply at github.com
Wed Oct 12 09:55:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 219df29ea36a5845e7b2e55f592ab758e8c31857
https://github.com/WebKit/WebKit/commit/219df29ea36a5845e7b2e55f592ab758e8c31857
Author: Don Olmstead <don.olmstead at sony.com>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M Source/JavaScriptCore/PlatformPlayStation.cmake
M Source/bmalloc/CMakeLists.txt
M Source/bmalloc/PlatformPlayStation.cmake
M Source/cmake/WebKitMacros.cmake
Log Message:
-----------
[CMake] PlayStation VSI needs to set language on C files
https://bugs.webkit.org/show_bug.cgi?id=245430
Reviewed by Yusuke Suzuki.
The Visual Studio integration for PlayStation has issues around
compiling C files as C++, with Clang erroring about a `.c` file being
compiled by clang++. Modify the code in `_WEBKIT_MACRO` to set the
language and options for any C files found in `_SOURCES`.
Remove any PlayStation specific CMake code that explicitly sets the
language of a source file. Also move any setting of language of a source
file in common build code before the call the `_WEBKIT_TARGET`.
* Source/JavaScriptCore/PlatformPlayStation.cmake:
* Source/bmalloc/CMakeLists.txt:
* Source/bmalloc/PlatformPlayStation.cmake:
* Source/cmake/WebKitMacros.cmake:
Canonical link: https://commits.webkit.org/255436@main
More information about the webkit-changes
mailing list