2013-03-12 10:07:30 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2013-12-10 03:27:57 +08:00
|
|
|
Option
|
|
|
|
Support
|
2013-03-12 10:07:30 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
add_clang_executable(modularize
|
|
|
|
Modularize.cpp
|
2013-10-15 21:52:33 +08:00
|
|
|
ModuleAssistant.cpp
|
2015-02-13 22:29:22 +08:00
|
|
|
ModularizeUtilities.cpp
|
2015-02-20 00:47:27 +08:00
|
|
|
CoverageChecker.cpp
|
2013-07-27 07:56:42 +08:00
|
|
|
PreprocessorTracker.cpp
|
2013-03-12 10:07:30 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(modularize
|
2014-07-14 13:01:53 +08:00
|
|
|
clangAST
|
2013-03-12 10:07:30 +08:00
|
|
|
clangBasic
|
2013-12-10 09:41:10 +08:00
|
|
|
clangDriver
|
|
|
|
clangFrontend
|
|
|
|
clangLex
|
|
|
|
clangTooling
|
2013-03-12 10:07:30 +08:00
|
|
|
)
|
2015-11-17 13:09:18 +08:00
|
|
|
|
|
|
|
install(TARGETS modularize
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
COMPONENT clang-extras)
|