David Chisnall
David Chisnall
Thanks for actually doing all of the work! I just heckle...
It might be worth opening bugs with CMake. I suspect that they'd be willing to support more Objective-C platforms but without anyone on the CMake project using them they might...
> However I’m not sure about the second issue I wrote about, is it even possible to fix this in CMake? If there’s no runtime built yet, CMake couldn’t possible...
> While these workarounds seems to work fine I haven't been able to reproduce this, the Windows build is still failing for me. Can you push something to this branch...
Can you push the fix to this branch?
> However there’s still a build error, I’m guessing because we need to add -fobjc-exceptions to CMAKE_OBJC(XX)_FLAGS? I think so, I'm a bit surprised it isn't in the default CMake...
Not all of the Objective-C things are supported by default in clang-cl, because it aims for compatibility with cl.exe (which doesn't support Objective-C). You can pass clang arguments to the...
The reason that I was using clang-cl, not clang, originally was that CMake conflated using-the-gcc-like-front-end with using-a-unix-compat-layer in a bunch of places. I think this was fixed around 3.19, so...
If we're not using clang-cl, we may not need the horrible `CCC_OVERRIDE_OPTIONS` hack. This uses a debug feature to rewrite the arguments because CMake was adding the cl.exe flags for...
If you add `-v` to the ninja invocation in CI, it will show the complete command for each build step, which might help debugging.