dd cmake configuration and some test to chack work