Files
clang-p2996/clang/lib/Tooling/DependencyScanning/CMakeLists.txt
Michael Spencer 33a745e6fe [clang][clang-scan-deps] Add support for extracting full module dependencies.
This is a recommit of d8a4ef0e68 with the nondeterminism fixed.

This adds experimental support for extracting a Clang module dependency graph
from a compilation database. The output format is experimental and will change.
It is currently a concatenation of JSON outputs for each compilation. Future
patches will change this to deduplicate modules between compilations.

Differential Revision: https://reviews.llvm.org/D69420
2019-10-30 15:27:27 -07:00

27 lines
422 B
CMake

set(LLVM_LINK_COMPONENTS
Core
Support
)
add_clang_library(clangDependencyScanning
DependencyScanningFilesystem.cpp
DependencyScanningService.cpp
DependencyScanningWorker.cpp
DependencyScanningTool.cpp
ModuleDepCollector.cpp
DEPENDS
ClangDriverOptions
LINK_LIBS
clangAST
clangBasic
clangDriver
clangFrontend
clangFrontendTool
clangLex
clangParse
clangSerialization
clangTooling
)