projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add LTO and gold plugin to the CMake build. Linux-only, support for
[oota-llvm.git]
/
tools
/
lto
/
CMakeLists.txt
1
set(LLVM_LINK_COMPONENTS ipo scalaropts linker bitreader bitwriter)
2
3
add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )
4
5
# TODO: build a static library too.
6
set(BUILD_SHARED_LIBS ON)
7
8
add_llvm_library(LTO
9
LTOCodeGenerator.cpp
10
lto.cpp
11
LTOModule.cpp
12
)
13