The same— I'm in a long-time world of generated message headers for ROS, so "codegen" to me is that add_custom_command/add_custom_target dance you do with CMake to get it to run a non-compiler tool ahead of actual compilation.
Without additional context, this is my default understanding. If it were in a compiler development conversation, I'd think of outputted machine code.