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

15 lines
307 B
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
add_clang_executable(clang-query ClangQuery.cpp)
target_link_libraries(clang-query
clangAST
clangASTMatchers
clangBasic
clangDynamicASTMatchers
clangFrontend
clangQuery
clangTooling
)
install(TARGETS clang-query RUNTIME DESTINATION bin)