add out source mode
remove old CMakeLists