added msg gen to CMakeList