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: https://llvm.org/docs/CMake.html#id16.

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