set(LLVM_NO_RTTI 1) | |
set(LLVM_USED_LIBS | |
clangIndex | |
clangFrontend | |
clangDriver | |
clangSema | |
clangAnalysis | |
clangChecker | |
clangRewrite | |
clangAST | |
clangParse | |
clangLex | |
clangBasic) | |
set( LLVM_LINK_COMPONENTS | |
bitreader | |
mc | |
core | |
) | |
add_clang_executable(clang-wpa | |
clang-wpa.cpp | |
) | |
add_dependencies(clang-wpa clang-headers) |