write CMakeList