Developing a standalone sanitizer

Hi, all.
I want to develop a sanitizer (like AddressSanitizer or MemorySanitizer).
Like this, LLVM Pass can be easily developed out of source:

Is it also possible for sanitizers?
Should I write my own cmake file for this?
I saw this tutorial:
But it embeds a whole llvm-project, which seems not that neat for me.