view clang-tools-extra/clang-change-namespace/tool/CMakeLists.txt @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 0572611fdcc8
children
line wrap: on
line source

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)

set(LLVM_LINK_COMPONENTS
  FrontendOpenMP
  Support
  )

add_clang_tool(clang-change-namespace
  ClangChangeNamespace.cpp
  )
clang_target_link_libraries(clang-change-namespace
  PRIVATE
  clangAST
  clangASTMatchers
  clangBasic
  clangFormat
  clangFrontend
  clangRewrite
  clangSerialization
  clangTooling
  clangToolingCore
  )
target_link_libraries(clang-change-namespace
  PRIVATE
  clangChangeNamespace
  )