writer for CMake listsfiles