mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,4 +24,11 @@ add_llvm_library(LLVMipo
|
||||
StructRetPromotion.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMipo LLVMScalarOpts LLVMInstCombine)
|
||||
target_link_libraries(LLVMipo
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMScalarOpts
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
LLVMipa
|
||||
)
|
||||
|
@@ -9,9 +9,14 @@ add_llvm_library(LLVMInstCombine
|
||||
InstCombineMulDivRem.cpp
|
||||
InstCombinePHI.cpp
|
||||
InstCombineSelect.cpp
|
||||
InstCombineShifts.cpp
|
||||
InstCombineShifts.cpp
|
||||
InstCombineSimplifyDemanded.cpp
|
||||
InstCombineVectorOps.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMInstCombine LLVMTransformUtils)
|
||||
target_link_libraries(LLVMInstCombine
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@@ -3,3 +3,9 @@ add_llvm_library(LLVMInstrumentation
|
||||
OptimalEdgeProfiling.cpp
|
||||
ProfilingUtils.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(LLVMInstrumentation
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@@ -32,4 +32,10 @@ add_llvm_library(LLVMScalarOpts
|
||||
TailRecursionElimination.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
|
||||
target_link_libraries (LLVMScalarOpts
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMInstCombine
|
||||
LLVMTarget
|
||||
LLVMTransformUtils
|
||||
)
|
||||
|
@@ -25,4 +25,9 @@ add_llvm_library(LLVMTransformUtils
|
||||
ValueMapper.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMTransformUtils LLVMSupport)
|
||||
target_link_libraries(LLVMTransformUtils
|
||||
LLVMAnalysis
|
||||
LLVMCore
|
||||
LLVMTarget
|
||||
LLVMipa
|
||||
)
|
||||
|
Reference in New Issue
Block a user