fa2c0e5346eb44ead30c5053289f910bfded2de9
[lldb.git] / clang-tools-extra / modularize / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Option
3   Support
4   )
5
6 add_clang_tool(modularize
7   Modularize.cpp
8   ModuleAssistant.cpp
9   ModularizeUtilities.cpp
10   CoverageChecker.cpp
11   PreprocessorTracker.cpp
12   )
13
14 target_link_libraries(modularize
15   PRIVATE
16   clangAST
17   clangBasic
18   clangDriver
19   clangFrontend
20   clangLex
21   clangSerialization
22   clangTooling
23   )
24
25 install(TARGETS modularize
26         RUNTIME DESTINATION bin
27         COMPONENT clang-extras)