This is sorta nifty:
CC="clang" CXX="clang++" cmake -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE=/usr/bin/iwyu ..
That is pretty nifty!
of course, it's not playing well with wrapper libs, but then it's designed to do the opposite of wrapper libs
Last updated: Apr 03 2025 at 00:51 UTC