brintos

brintos / llvm-project-archived public Read only

0
0
Text · 547 B · 4bcf693 Raw
22 lines · plain
1set (files2  "opt-diff.py"3  "opt-stats.py"4  "opt-viewer.py"5  "optpmap.py"6  "optrecord.py"7  "style.css")8 9foreach (file ${files})10  install(PROGRAMS ${file}11    DESTINATION "${CMAKE_INSTALL_DATADIR}/opt-viewer"12    COMPONENT opt-viewer)13endforeach (file)14 15add_custom_target(opt-viewer DEPENDS ${files})16set_target_properties(opt-viewer PROPERTIES FOLDER "LLVM/Tools")17if(NOT LLVM_ENABLE_IDE)18  add_llvm_install_targets("install-opt-viewer"19                           DEPENDS opt-viewer20                           COMPONENT opt-viewer)21endif()22