convert xml to cmake file