r344555 switched LLVM to guarding install targets with LLVM_ENABLE_IDE
instead of CMAKE_CONFIGURATION_TYPES, which expresses the intent more
directly and can be overridden by a user. Make the corresponding change
in clang. LLVM_ENABLE_IDE is computed by HandleLLVMOptions, so it should
be available for both standalone and integrated builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
CC @lebedev.ri, since I believe you raised some issues during the corresponding LLVM change but those were addressed.
Comment Actions
Yeah, i don't think i have any comments here.
The logic to pick the default of LLVM_ENABLE_IDE (based on the existence of CMAKE_CONFIGURATION_TYPES) seems hacky,
but it indeed does not currently detect QtCreator's CMake integration as "IDE", so i don't have any additional concerns,
this looks like a straight-forward cleanup.
What i do have concerns about, is that LLVM_ENABLE_IDE is not documented in https://llvm.org/docs/CMake.html