forked from OSchip/llvm-project
25 lines
439 B
CMake
25 lines
439 B
CMake
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_executable(clang-change-namespace
|
|
ClangChangeNamespace.cpp
|
|
)
|
|
target_link_libraries(clang-change-namespace
|
|
PRIVATE
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangChangeNamespace
|
|
clangFormat
|
|
clangFrontend
|
|
clangRewrite
|
|
clangTooling
|
|
clangToolingCore
|
|
)
|
|
|
|
install(TARGETS clang-change-namespace
|
|
RUNTIME DESTINATION bin)
|