Add a cmakelist file for cmake build.