Hi,
We are using Precompiled Headers in all our projects. (Project files are generated with Premake and support Windows, Linux, Emscripten (web), and MacOS.)
I am having a problem with one project in particular which contains a mix of C and C++ files. We explicitly disable precompiled headers for C files because past experience has proven it's impossible to use C++ precompiled headers in C sources, and vice versa.
At least that's the theory. In Xcode it doesn't seem possible to enable/disable precompiled headers on a per file basis. (At least that's my conclusion so far.)
Is this actually true? Is it not possible to configure individual build settings for single source files? Specifically, is it not possible to use precompiled headers for C++ files and not for C files within a single project?
Cheers, James