mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter.
I also sorted the tools/driver dependencies since their order no longer matters. llvm-svn: 125417
This commit is contained in:
parent
722d4e4aa0
commit
c498878e6d
@ -1,3 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS support)
|
||||
|
||||
set(LLVM_USED_LIBS clangBasic)
|
||||
|
||||
add_clang_library(clangAST
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS mc)
|
||||
|
||||
add_clang_library(clangBasic
|
||||
Builtins.cpp
|
||||
ConvertUTF.c
|
||||
|
@ -1,3 +1,10 @@
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
asmparser
|
||||
bitreader
|
||||
bitwriter
|
||||
ipo
|
||||
)
|
||||
|
||||
set(LLVM_USED_LIBS clangBasic clangAST clangFrontend)
|
||||
|
||||
add_clang_library(clangCodeGen
|
||||
|
@ -1,10 +1,11 @@
|
||||
set( LLVM_USED_LIBS
|
||||
clangAST
|
||||
clangBasic
|
||||
clangDriver
|
||||
clangLex
|
||||
clangParse
|
||||
clangSema
|
||||
clangAST
|
||||
clangLex
|
||||
clangBasic
|
||||
clangSerialization
|
||||
)
|
||||
|
||||
add_clang_library(clangFrontend
|
||||
|
@ -1,5 +1,7 @@
|
||||
# TODO: Add -maltivec when ARCH is PowerPC.
|
||||
|
||||
set(LLVM_LINK_COMPONENTS support)
|
||||
|
||||
set(LLVM_USED_LIBS clangBasic)
|
||||
|
||||
add_clang_library(clangLex
|
||||
|
@ -1,4 +1,5 @@
|
||||
set(LLVM_USED_LIBS clangFrontend)
|
||||
# TODO: This must need some dependencies, but it builds fine without them.
|
||||
#set(LLVM_USED_LIBS ???)
|
||||
|
||||
add_clang_library(clangSerialization
|
||||
GeneratePCH.cpp
|
||||
|
@ -1,3 +1,5 @@
|
||||
set(LLVM_LINK_COMPONENTS support)
|
||||
|
||||
set(LLVM_USED_LIBS clangBasic clangLex clangAST clangFrontend clangRewrite)
|
||||
|
||||
add_clang_library(clangStaticAnalyzerCore
|
||||
|
@ -1,19 +1,19 @@
|
||||
set( LLVM_USED_LIBS
|
||||
clangFrontendTool
|
||||
clangFrontend
|
||||
clangDriver
|
||||
clangSerialization
|
||||
clangAST
|
||||
clangAnalysis
|
||||
clangBasic
|
||||
clangCodeGen
|
||||
clangDriver
|
||||
clangFrontend
|
||||
clangFrontendTool
|
||||
clangIndex
|
||||
clangLex
|
||||
clangParse
|
||||
clangRewrite
|
||||
clangSema
|
||||
clangSerialization
|
||||
clangStaticAnalyzerCheckers
|
||||
clangStaticAnalyzerCore
|
||||
clangAnalysis
|
||||
clangIndex
|
||||
clangRewrite
|
||||
clangAST
|
||||
clangLex
|
||||
clangBasic
|
||||
)
|
||||
|
||||
set( LLVM_LINK_COMPONENTS
|
||||
|
Loading…
Reference in New Issue
Block a user