This relands #167348. The original PR was reverted due to a reported build failure, which was later diagnosed as a local issue in the developer’s checkout or build state. See discussion here: https://github.com/llvm/llvm-project/pull/163659#discussion_r2511546964 No additional changes have been made in this reland.
23 lines
293 B
CMake
23 lines
293 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_tool(pp-trace
|
|
PPTrace.cpp
|
|
PPCallbacksTracker.cpp
|
|
|
|
DEPENDS
|
|
ClangDriverOptions
|
|
)
|
|
|
|
clang_target_link_libraries(pp-trace
|
|
PRIVATE
|
|
clangAST
|
|
clangBasic
|
|
clangOptions
|
|
clangFrontend
|
|
clangLex
|
|
clangSerialization
|
|
clangTooling
|
|
)
|