forked from OSchip/llvm-project
23 lines
366 B
CMake
23 lines
366 B
CMake
|
set(LLVM_LINK_COMPONENTS
|
||
|
${LLVM_TARGETS_TO_BUILD}
|
||
|
asmparser
|
||
|
bitreader
|
||
|
support
|
||
|
mc
|
||
|
)
|
||
|
|
||
|
add_clang_library(clangApplyReplacements
|
||
|
lib/Tooling/ApplyReplacements.cpp
|
||
|
)
|
||
|
target_link_libraries(clangApplyReplacements
|
||
|
clangTooling
|
||
|
clangBasic
|
||
|
clangRewriteFrontend
|
||
|
)
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||
|
include
|
||
|
)
|
||
|
add_subdirectory(tool)
|