update for cmake and sources