add codegen as dependency for normal executable