llvm-project/llvm/utils/LLVMVisualizers/CMakeLists.txt

8 lines
358 B
CMake
Raw Normal View History

# Do this by hand instead of using add_llvm_utilities(), which
# tries to create a corresponding executable, which we don't want.
if (LLVM_ADD_NATIVE_VISUALIZERS_TO_SOLUTION)
set(LLVM_VISUALIZERS llvm.natvis)
add_custom_target(LLVMVisualizers SOURCES ${LLVM_VISUALIZERS})
set_target_properties(LLVMVisualizers PROPERTIES FOLDER "Utils")
endif()