(Discourse recommended I start a new topic.)
There was a question whether LLVM cmake supports multi-config generators Does LLVM support to be built with "Ninja Multi-Config" CMake Generator? The answer was no, and I can see that CMAKE_BUILD_TYPE is used in many places in the tree.
I might have misunderstood the question, but Visual Studio is a multi-config generator, right? I can do one -G and then choose Debug or Release in the IDE for each build. And the VS Getting Started does not tell us to set CMAKE_BUILD_TYPE Getting Started with the LLVM System using Microsoft Visual Studio — LLVM 18.0.0git documentation . So is it that we can build multiple configs of the main EXEs but at some point will run into a problem? Or will even the main EXEs be affected by CMAKE_BUILD_TYPE? So should that variable be on the -G command?