Skip to content

Commit

Permalink
tests: Skip "withIncludeFile" for PCH on Xcode backend
Browse files Browse the repository at this point in the history
Xcode always fails here because this makes the PCH not be the first
included header, causing Xcode to ignore it completely. There is no
way around this.
  • Loading branch information
tangalbert919 authored and nirbheek committed Sep 28, 2023
1 parent 8b09ab2 commit 5aeacb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test cases/common/13 pch/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ subdir('cpp')
subdir('generated')
subdir('userDefined')
subdir('withIncludeDirectories')
subdir('withIncludeFile')
if meson.backend() == 'xcode'
warning('Xcode backend does not support forced includes. Skipping "withIncludeFile" which requires this.')
else
subdir('withIncludeFile')
endif

if meson.backend() == 'xcode'
warning('Xcode backend only supports one precompiled header per target. Skipping "mixed" which has various precompiled headers.')
Expand Down

0 comments on commit 5aeacb7

Please sign in to comment.