summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize/CMakeLists.txt
blob: 17d1eb19d25a84f980243d2f472c749634854b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set(LLVM_LINK_COMPONENTS
  Option
  Support
  )

add_clang_executable(modularize
  Modularize.cpp
  ModuleAssistant.cpp
  ModularizeUtilities.cpp
  CoverageChecker.cpp
  PreprocessorTracker.cpp
  )

target_link_libraries(modularize
  clangAST
  clangBasic
  clangDriver
  clangFrontend
  clangLex
  clangTooling
  )

install(TARGETS modularize
        RUNTIME DESTINATION bin
        COMPONENT clang-extras)
OpenPOWER on IntegriCloud