mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 21:42:54 +02:00
14 lines
270 B
CMake
14 lines
270 B
CMake
|
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
|
||
|
)
|
||
|
|