r343530 - Update CMakeLists.txt snippet so that example compiles
Stephen Kelly via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 1 13:28:07 PDT 2018
Author: steveire
Date: Mon Oct 1 13:28:07 2018
New Revision: 343530
URL: http://llvm.org/viewvc/llvm-project?rev=343530&view=rev
Log:
Update CMakeLists.txt snippet so that example compiles
Summary: Previous to this the example didn't work out of the box, it seems some cmake config changed between when this was written and now.
Author: Dan Zimmerman <daniel.zimmerman at me.com>
Reviewers: modocache, steveire
Reviewed By: steveire
Subscribers: smeenai, steveire, cfe-commits
Differential Revision: https://reviews.llvm.org/D52664
Modified:
cfe/trunk/docs/LibASTMatchersTutorial.rst
Modified: cfe/trunk/docs/LibASTMatchersTutorial.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibASTMatchersTutorial.rst?rev=343530&r1=343529&r2=343530&view=diff
==============================================================================
--- cfe/trunk/docs/LibASTMatchersTutorial.rst (original)
+++ cfe/trunk/docs/LibASTMatchersTutorial.rst Mon Oct 1 13:28:07 2018
@@ -113,6 +113,7 @@ CMakeLists.txt should have the following
LoopConvert.cpp
)
target_link_libraries(loop-convert
+ PRIVATE
clangTooling
clangBasic
clangASTMatchers
More information about the cfe-commits
mailing list