llvm-project/clang-tools-extra/modularize/CMakeLists.txt

26 lines
408 B
CMake

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)