updated cmake  and  git-ignore to   customize builds   for local output