ref #9 apply glwhite's template cmake