Build cmake framework