mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
798403babd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127545 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
299 B
CMake
16 lines
299 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
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
|
|
)
|
|
|