blob: a316ef788e690494a262b71ceee7fabfd00e19a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
set(LLVM_LINK_COMPONENTS ipo scalaropts linker bitreader bitwriter)
add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )
# TODO: build a static library too.
set(BUILD_SHARED_LIBS ON)
add_llvm_library(LTO
LTOCodeGenerator.cpp
lto.cpp
LTOModule.cpp
)
|