Add template for cmake