Bug 312105
| Summary: | [CMake] Fix CMake -Xcc flag deduplication in native Swift target_compile_options | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | pascoe <pascoe> |
| Component: | CMake | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 312017 | ||
| Bug Blocks: | |||
pascoe@apple.com
CMake deduplicates repeated -Xcc flags in target_compile_options, keeping only the first instance. PAL and WebKit Swift compilation needs multiple -Xcc -I<path> pairs for the Clang importer. The custom typecheck command (add_custom_command) is unaffected. Currently non-blocking because -explicit-module-build discovers modules via bare -I paths, but would break if explicit module builds are disabled. Fix requires SHELL: prefix at the CMake option level.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/174612505>