Mentioning how to get cmake to generate flags db

Fixes #1084