This is an archive of the discontinued LLVM Phabricator instance.

[cfe][CMake] Export the clang resource directory

Authored by philip.pfaffe on Jul 18 2018, 5:35 AM.



Out-of-tree tools trying to parse source files need the builtin headers
such as stddef.h. If the tool isn't installed together with clang, it
can't find them automatically. Exporting the location makes this much

Event Timeline

philip.pfaffe created this revision.Jul 18 2018, 5:35 AM
philip.pfaffe abandoned this revision.Jul 18 2018, 7:44 AM

Abandoning in favor D49486, which subscribed the right list :)