add cmakelist for offline stat analysis