diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2021-08-07 15:07:55 (GMT) |
---|---|---|
committer | Cristian Adam <cristian.adam@gmail.com> | 2021-09-13 15:12:11 (GMT) |
commit | bbcdac4e5d53de12013c6af6395b28e4816f7823 (patch) | |
tree | 1d18f8ca2efc885fac477e2ce832bb161fdddd1d /Tests/RunCMake/PrecompileHeaders/pch-included.c | |
parent | cc94429c61fcdff73ff78430692ff12ed1fff29b (diff) | |
download | CMake-bbcdac4e5d53de12013c6af6395b28e4816f7823.zip CMake-bbcdac4e5d53de12013c6af6395b28e4816f7823.tar.gz CMake-bbcdac4e5d53de12013c6af6395b28e4816f7823.tar.bz2 |
PCH: Fix all-language precompile header support in Xcode
Fixes: #22384
Diffstat (limited to 'Tests/RunCMake/PrecompileHeaders/pch-included.c')
-rw-r--r-- | Tests/RunCMake/PrecompileHeaders/pch-included.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/PrecompileHeaders/pch-included.c b/Tests/RunCMake/PrecompileHeaders/pch-included.c new file mode 100644 index 0000000..96fce69 --- /dev/null +++ b/Tests/RunCMake/PrecompileHeaders/pch-included.c @@ -0,0 +1,8 @@ +#ifndef HAVE_PCH_SUPPORT +# include "pch.h" +#endif + +int testC(void) +{ + return PCH_INCLUDED; +} |