blob: ead73ec13a8f5d7e66d3cce11ba3c9603ec1d39e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
set (files
"opt-diff.py"
"opt-stats.py"
"opt-viewer.py"
"optpmap.py"
"optrecord.py"
"style.css")
foreach (file ${files})
install(PROGRAMS ${file}
DESTINATION share/opt-viewer
COMPONENT opt-viewer)
endforeach (file)
add_custom_target(opt-viewer DEPENDS ${files})
if(NOT LLVM_ENABLE_IDE)
add_llvm_install_targets("install-opt-viewer"
DEPENDS opt-viewer
COMPONENT opt-viewer)
endif()
|