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

19 lines
274 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
asmparser
support
mc
)
add_clang_executable(modularize
Modularize.cpp
ModuleAssistant.cpp
PreprocessorTracker.cpp
)
target_link_libraries(modularize
clangTooling
clangBasic
clangRewriteFrontend
)