The ros build script uses the message generator script to generate the ros core messages (adding an option to output a framework or a simple folder).