mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 04:00:56 +00:00
07d9f9a6ec
must be under the `tools' subdirectory of the LLVM *source* tree. llvm-svn: 58180
41 lines
608 B
CMake
41 lines
608 B
CMake
set(LLVM_NO_RTTI 1)
|
|
|
|
set( LLVM_USED_LIBS
|
|
clangCodeGen
|
|
clangAnalysis
|
|
clangRewrite
|
|
clangSema
|
|
clangDriver
|
|
clangAST
|
|
clangParse
|
|
clangLex
|
|
clangBasic
|
|
)
|
|
|
|
set( LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
bitreader
|
|
bitwriter
|
|
codegen
|
|
ipo
|
|
selectiondag
|
|
)
|
|
|
|
add_clang_executable(clang
|
|
AnalysisConsumer.cpp
|
|
ASTConsumers.cpp
|
|
Backend.cpp
|
|
CacheTokens.cpp
|
|
clang.cpp
|
|
DependencyFile.cpp
|
|
DiagChecker.cpp
|
|
HTMLPrint.cpp
|
|
PrintParserCallbacks.cpp
|
|
PrintPreprocessedOutput.cpp
|
|
RewriteBlocks.cpp
|
|
RewriteMacros.cpp
|
|
RewriteObjC.cpp
|
|
RewriteTest.cpp
|
|
SerializationTest.cpp
|
|
)
|