Takumi,
Thank you for all the pointers, they have been quite helpful.
So, in a nutshell, it seems that both conditional checks below
can be removed:
* llvm/cmake/modules/LLVMProcessSources.cmake:45
* clang/CMakeLists.txt:295
I’ve checked it with "Unix Makefile” and “Ninja” generators, as both
are supported by Qt Creator.
***
> You may try to change "if(MSVC_IDE OR XCODE)" to "if(TRUE)" locally ;)
> * llvm/cmake/modules/LLVMProcessSources.cmake:45
I know about that one. As I’ve said, I’ve changed it and there
are seemingly no ill effects. I simply wonder if the conditional
should be permanently removed or set to TRUE, as it seems counterproductive.
> * llvm/CMakeLists.txt:255 LLVM_LIT_ARGS
This disables the progress bar for XCODE and MSVC. Probably neither
of those IDEs have the code to understand progress output, so it may
as well remain disabled. I see no reason to change it at the moment.
> * clang/CMakeLists.txt:295
> It adds clang's public headers to each clang library.
> Note that it would also require to tweak LLVMProcessSources.cmake.
This is interesting. You refer here to add_clang_library.
On the surface it seems to duplicate what’s already
present in llvm_process_sources, but it only seems so. It calls
llvm_add_library, and that calls llvm_process_sources
if no OBJLIBS argument is given. Alas, it must be that OBJLIBS are
given, and llvm_process_sources is not called since the .td and .h
files are not added unless the conditional check is removed here.
Cheers, Kuba Ober