A cmake based multi-platform build system with bcore integration