[doc] doc for new cmake env; fixing warnings