diff options
Diffstat (limited to 'lib/Frontend/CMakeLists.txt')
-rw-r--r-- | lib/Frontend/CMakeLists.txt | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/lib/Frontend/CMakeLists.txt b/lib/Frontend/CMakeLists.txt index 0566d54f36a7..403cc42927a6 100644 --- a/lib/Frontend/CMakeLists.txt +++ b/lib/Frontend/CMakeLists.txt @@ -1,3 +1,10 @@ +add_subdirectory(Rewrite) + +set(LLVM_LINK_COMPONENTS + Option + Support + ) + add_clang_library(clangFrontend ASTConsumers.cpp ASTMerge.cpp @@ -20,6 +27,7 @@ add_clang_library(clangFrontend LangStandards.cpp LayoutOverrideSource.cpp LogDiagnosticPrinter.cpp + ModuleDependencyCollector.cpp MultiplexConsumer.cpp PrintPreprocessedOutput.cpp SerializedDiagnosticPrinter.cpp @@ -27,26 +35,11 @@ add_clang_library(clangFrontend TextDiagnosticBuffer.cpp TextDiagnosticPrinter.cpp VerifyDiagnosticConsumer.cpp - Warnings.cpp - ) -add_dependencies(clangFrontend - ClangAttrClasses - ClangAttrList - ClangAttrParsedAttrList - ClangCommentNodes - ClangDeclNodes - ClangDiagnosticAST - ClangDiagnosticCommon - ClangDiagnosticDriver - ClangDiagnosticFrontend - ClangDiagnosticLex - ClangDiagnosticSema + DEPENDS ClangDriverOptions - ClangStmtNodes - ) -target_link_libraries(clangFrontend + LINK_LIBS clangAST clangBasic clangDriver |