[PATCH] D58537: lib/Header: Simplify CMakeLists.txt
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 27 13:47:54 PST 2019
smeenai accepted this revision.
smeenai added a comment.
LGTM, thanks!
================
Comment at: clang/lib/Headers/CMakeLists.txt:136
list(APPEND out_files ${dst})
+ # The list function only updates out_files in the current scope. We need
+ # call set in order to also update the variable for the parent's scope.
----------------
I don't think this comment is necessary – this is a pretty common CMake pattern, and I think the PARENT_SCOPE is enough of a search hint for people who aren't familiar with it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58537/new/
https://reviews.llvm.org/D58537
More information about the cfe-commits
mailing list