mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
f97c03b940
Add install targets as necessary to include all files normally installed in LLVM_DISTRIBUTION_COMPONENTS. This includes targets for Sphinx docs, opt-viewer Python modules and TableGens. Differential Revision: https://reviews.llvm.org/D68339 llvm-svn: 373482
21 lines
461 B
CMake
21 lines
461 B
CMake
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()
|