llvm-capstone/clang-tools-extra/pp-trace/CMakeLists.txt
Michal Gorny 0820041e1d [clang-tools-extra] [cmake] Link against libclang-cpp whenever possible
Use clang_target_link_libraries() in order to support linking against
libclang-cpp instead of static libraries.

Differential Revision: https://reviews.llvm.org/D68448

llvm-svn: 373786
2019-10-04 20:30:02 +00:00

19 lines
246 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_clang_tool(pp-trace
PPTrace.cpp
PPCallbacksTracker.cpp
)
clang_target_link_libraries(pp-trace
PRIVATE
clangAST
clangBasic
clangFrontend
clangLex
clangSerialization
clangTooling
)