added to_dat tool to CMake