add script for cmake configuration