more orginized main cmakelist.