Introduce cmake compile capability