cpp: add support for ODB targets in cmakefiles
cpp: add support for generation of ODB options file