reduce build complexity, add generated file