xref: /aosp_15_r20/external/llvm/utils/LLVMVisualizers/CMakeLists.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# Do this by hand instead of using add_llvm_utilities(), which
2*9880d681SAndroid Build Coastguard Worker# tries to create a corresponding executable, which we don't want.
3*9880d681SAndroid Build Coastguard Workerif (LLVM_ADD_NATIVE_VISUALIZERS_TO_SOLUTION)
4*9880d681SAndroid Build Coastguard Worker  set(LLVM_VISUALIZERS llvm.natvis)
5*9880d681SAndroid Build Coastguard Worker  add_custom_target(LLVMVisualizers SOURCES ${LLVM_VISUALIZERS})
6*9880d681SAndroid Build Coastguard Worker  set_target_properties(LLVMVisualizers PROPERTIES FOLDER "Utils")
7*9880d681SAndroid Build Coastguard Workerendif()
8