blob: fa2c0e5346eb44ead30c5053289f910bfded2de9 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
Option
Support
)
add_clang_tool(modularize
Modularize.cpp
ModuleAssistant.cpp
ModularizeUtilities.cpp
CoverageChecker.cpp
PreprocessorTracker.cpp
)
target_link_libraries(modularize
PRIVATE
clangAST
clangBasic
clangDriver
clangFrontend
clangLex
clangSerialization
clangTooling
)
install(TARGETS modularize
RUNTIME DESTINATION bin
COMPONENT clang-extras)