mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 13:48:45 +00:00
[opt-viewer] Move under tools, install it
We weren't installing opt-viewer and co before, this fixes the omission. I am also moving the tools from utils/ to tools/. I believe that this is more appropriate since these tools have matured greatly in the past year through contributions by multiple people (thanks!) so they are ready to become external tools. The tools are installed under <install>/share/opt-viewer/. I am *not* adding the llvm- prefix. If people feel strongly about adding that, this is probably a good time since the new location will require some mental adjustment anyway. Fixes PR33521 Differential Revision: https://reviews.llvm.org/D35048 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8657a6b195
commit
a5a5f8ef6f
13
tools/opt-viewer/CMakeLists.txt
Normal file
13
tools/opt-viewer/CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
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)
|
Loading…
x
Reference in New Issue
Block a user