mgorny wrote: `PARTIAL_SOURCES_INTENDED` doesn't work there since it isn't passed to `llvm_add_library()`, and `llvm_process_sources()` is called again there.
That said, I would personally lean towards putting the whole file around an `#if` rather than disabling the QA check. In the end, `PARTIAL_SOURCES_INTENDED` is mostly used when there are two targets built in a single CMake file, rather than for conditional sources. https://github.com/llvm/llvm-project/pull/119716 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits