llvm-project/clang-tools-extra/clang-query/tool/CMakeLists.txt

20 lines
337 B
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_tool(clang-query
ClangQuery.cpp
)
clang_target_link_libraries(clang-query
PRIVATE
clangAST
clangASTMatchers
clangBasic
clangDynamicASTMatchers
clangFrontend
clangSerialization
clangTooling
)
target_link_libraries(clang-query
PRIVATE
clangQuery
)