Code Generation vs. Compilation

Is this the same? Very bold Model-driven architecture evangelists use examples from compiler technology to show that MDA is just as possible. They may be overextending the similarities because compilation creates executable instructioins directly while in most cases code generation performs only a transformation into a different - not directly executable - format. Careful practicioners like Harrington differentiate clearly between both.