Questions about building unreal engine as a library

i try in this days made a project like a library, and use this project in the place of UELibraryProject . I understood you can made a dll of project and using the dlls and the project with app like a UELibrayApp, but i am not sure, if I succeed i write Again.
However, i think is very hard to distributing any library like this.